Tutorials

RailsConf 2022 - Scaling Rails with JRuby in 2022 by Charles Oliver Nutter - YouTube
JRuby is back in 2022 with Ruby 3.1 support and new work on performance and scaling. For over a decade, Ruby users have turned to JRuby to get access to world-class garbage collection, native JIT compilation for increased performance, and true par...

RailsConf 2022 - Event Streaming on Rails by Brad Urani - YouTube
Pop quiz: How do you best make one Rails app communicate with another? How do you split one big Rails app into two smaller ones? How do you switch from a Rails app to a constellation of Rails services? Event streaming provides the most robust answ...

RailsConf 2022 - Kuby: Active Deployment for Rails Apps by Cameron Dutro - YouTube
One of the Rails mantras is "convention over configuration," sane defaults that limit the cognitive overhead of application development. It's easy to learn and easy to build with... right up until you want to deploy your app to production. At that...





Migrating Rails cookies to the new JSON serializer
How to move from Marshal to the new Rails 7 default JSON serializer.I was recently upgrading Phrase to Rails 7. Big upgrades like that are usually being done with the most minimal changes, and this one wasn’t an exception. However, every major and...

Ruby constant lookup: compact style vs. explicit nesting
Recently, a colleague of mine decided that it was time to refactor some parts of our (Rails-) codebase. In particular, he used the autocorrect feature of rubocop to switch from qualified constant definitions (aka. compact style) to explicit nesting:.