Tutorials


Rails 8 Assets: Adding a bundled package alongside vanilla setup | Radan Skorić's website
Propshaft + importmap-rails works great but can’t cover all possible cases. When you start reaching for more complex npm packages, you might encounter packages that require some form of bundling.
For example, let’s consider a relatively popular s...

Reduce Memory Usage of Your Rails App by Selecting Specific Columns
Reduce Memory Usage by Selecting Specific Columns
As your application grows, so do your database tables. If you keep fetching all columns, those extra fields, especially large text or JSON blobs can quietly eat up a lot of memory. This post shows ...


Migrating Your Ruby Apps to the Latest Stack | Heroku
Do you run Rails or pure Ruby applications on Heroku? If so, it's important to be aware of upcoming end-of-life (EOL) dates for both your stack and your Ruby version. The Heroku-20 stack, built on Ubuntu 20.04 LTS, will reach EOL for standard supp...

How to use Pry to debug Ruby apps - Honeybadger Developer Blog
Have you ever tried to debug your Ruby code by typing in print statements and hoping they’d eventually show up where they should? You know what I mean - you type puts “This worked!" into the code and then run it in the terminal, only to have nothi...

Rails Boilerplate | How to Configure Sign in With Apple in Rails 8
There are a couple of reasons you might want to setup "Sign in with Apple" in Rails 8 without using Omniauth.
You don't want to use Omniauth
You want to use the latest Apple authentication API and more importantly, the latest version of the nice ...



Profiling Ruby on Rails Applications with Rails Debugbar
When you're building Rails apps and having fun building new features, it's easy to lose track of what's actually happening behind the scenes. You don't always know what queries are being run, how long they're taking, or how many objects Rails is a...