Tutorials



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:.


rstfilter VSCode extension for your new Ruby development experience
Today I released new VSCode extension Ruby's rstfilter extension.This extension provides new Ruby development experience:You can see the execution results line by line on the editor without launching a ruby command manually. You only need to start...

How to Effortlessly Build an Instagram Clone With Hotwire - YouTube
In this video, we're going to look at how you can build an Instagram clone with Hotwire.🎥 Join my new Ruby on Rails Class here: https://mixandgo.com/rails-classGithub Repository: https://github.com/mixandgo/hotwire_i...You can subscribe to the ch...

Scaling Rails web sockets in Kubernetes with AnyCable
One of the things I love the most about Rails is how easy it makes implementing many features with very little setup from my part. One example is ActionCable for web sockets. Before ActionCable, whenever I needed to build realtime features I had t...

How to Add Infinite Scrolling With Hotwire in Under 5 Minutes - YouTube
In this video we're going to look at how you can add infinite scrolling into your Rails app with Hotwire.This feature allows you to paginate your records by scrolling to the bottom of the page, as opposed to using manual pagination where you need ...