mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#ruby

50 posts46 participants3 posts today

💜 WNB.rb Community Spotlight! 💜

This July, we're celebrating one of our own! Emily Samp (Engineering Manager @ Shopify + WNB.rb organizer) is sharing her expertise on "Beyond Type Checking."

🎯 This isn't just about type checking - it's about the future of Ruby development tools that will benefit ALL of us!

✨ Join our inclusive space where women and non-binary Rubyists thrive, learn, and support each other.

⏰ Noon, Eastern Standard Time
discord.gg/9957hywB?event=1397

I never thought I would say this.

I am tired of identifying as part of the Ruby community, and I don’t know how much longer I can do it.

Perhaps it is time to pull up stakes.

Maybe 20 years was enough. #ruby

For new projects I rarely use #Ruby anymore. Rather #Python on the backend to implement APIs and ETL pipelines, or Javascript & Typescript on the frontend together with ReactJS and NextJS and whatever JS framework is the latest trend. Even for crawlers and scrapers Javascript is a good choice in combination with #Puppeteer or #Playwright. Is it similar for you?

I just figured out the dev experience in #rails console Even with my years of experience in #Ruby on #Rails I've never run rails console out of a #docker container. But there is autocompletation in rails console, in all my experience I've never seen that. I don't know if it's a rails 8 feature or is because I don't using docker now.

“Why can’t we just…… send an HTML Email” - awesome idea and write up from Julik Tarkhanov.

blog.julik.nl/2025/07/h…

#rails #ruby #AwesomeRubyNewsletter

Julik Tarkhanov · Why Can’t We Just… Send an HTML EmailA few months ago my partner-in-love-and-in-crime came with a seemingly innocuous request, which went as follows: We have an event coming up, and I need to send out a press release via email. It’s simple enough - just a couple of images and a few blurbs of text. I can’t seem to be able to make it look good in Gmail nor in Apple Mail. How does one do such a thing? Now, we computer-savvy household members know darn well that HTML email is, on the list of terrible IT things we have to help others with, right below the “can we get this printer to work?”. It can get… challenging. And yet, given that I have done this “HTML email” thing for a while – this piqued my curiosity. How hard can it be, thought I, to manually code an HTML email with images - and then use some Advanced Technology™ to turn it into a proper HTML email? While doing that using current commercial platforms turned out to be very hard indeed - for reasons having nothing to do with technology – I did come to an elegant solution that I came to appreciate. And it did allow me exactly what I wanted: Quickly layout an HTML email by source editing Turn it into an actual email Preview it in Apple Mail (on macOS and an iPhone) and in Gmail (desktop Web and iOS) …rinse and repeat until it looks great And here’s the delightful surprise: the solution turned out to be not just functional, but genuinely elegant. It’s one of those rare moments where the constraints of email clients actually led to a cleaner, more maintainable approach than the “modern” alternatives. Instead of fighting with WYSIWYG editors or wrestling with complex templating systems, I ended up with a simple script that does exactly what I need - nothing more, nothing less. The real “aha moment” came when I realized that the tools I needed were already sitting right there in my Rails stack, just waiting to be used in a slightly different way. Premailer, Nokogiri, and the Mail gem - these aren’t exotic dependencies or bleeding-edge libraries. They’re battle-tested, well-documented tools that handle the hard parts of email creation while giving you complete control over the output. It’s the kind of solution that makes you wonder why you didn’t think of it sooner. Curious where I ended up with that? Read on!