Tutorials

Ruby Tricks: awesome_print as default renderer in IRB - YouTube
You can "buy me a coffee" to support the channel đ:https://www.buymeacoffee.com/RubyCademyWe're also available on:- Twitter: https://www.twitter.com/RubyCademy- Reddit: https://www.reddit.com/r/rubycademy- Tiktok: https://www.tiktok.com/@rubycademy.



Writing better Action Mailers: Revisiting a core Rails concept
Mailers are a feature used in literally every Rails application. But they are often an after thought where we throw out the rules of well-written applications.Writing mailers is a âset it and forget itâ part of your codebase. But recently, Iâve re...

Ruby for game development? Is this a joke? - YouTube
I share what I've been working on the last couple of monthsâmaking games with Ruby! Specifically DragonRuby Game Toolkit, a really compelling engine for making 2D games. I've been enjoying it so much so that I wrote a book and started a website de...

How to Use Sorbet to Type-Check Ruby - Semaphore
Statically typed code, especially when introduced incrementally to a codebase, can improve reliability and developer productivity while maintaining readability. Stripe calls Sorbet âdoubling down on what makes Ruby delightfulâ. In this article weâ...


Easy to Overlook Way to Break Eager Loading in Rails Apps
In theory, configuring eager loading to avoid N 1 issues is straightforward. Chaining includes method is usually enough to ensure that all the relations data is fetched efficiently. However, this rule breaks for some easy-to-overlook edge cases. I...

Alias Your Mastodon Username to Your Own Domain With Jekyll
Mastodon is different from most online services. It is a federated network, so when you set up an account you need to choose a server to use. Your username then becomes a combination of your handle and that server you signed up to. For example, I ...