Tutorials
Meet Mata: live reload for Rack Apps | Rails Designer
I build quite a few sites. For my own products or I help others. Since I released Perron that is my go-to static site generator now. But it was missing one feature for a speedy development cycle: live reload. Not just a page refresh, but more like...
Running Migrations Once During a Multi-Host Kamal Deploy | t27duck
At my day job, we deploy our Rails app in production to three separate web hosts using Kamal. Each container runs bin/docker-entrypoint on startup, which runs bin/rails db:prepare. That worked fine when there was only one host (like staging), but ...
Inbound email in Rails apps with Fuik | Rails Designer
Fuik is a Rails engine for handling webhooks that I launched recently. But it can also be used to process inbound emails! 💡
When working with inbound email in Rails using Action Mailbox, there’s a key requirement: managing EML files and blob stor...
One year of Ruby on Rails configuration | Island94.org
I’ve been working professionaly with Ruby on Rails for nearly 15 years (I’m also the author of GoodJob and Spectator Sport). Last year I left GitHub and co-founded a technology startup, Frontdoor Benefits, that helps people enroll and manage their...
Reusable drag-and-drop image preview in Rails | Rails Designer
Build a copy-paste custom element for image uploads that works anywhere in your Rails app. Drag-and-drop, previews and form integration without any framework overhead.Custom elements have been covered here berfore. If you have used Hotwire in Rail...
Migrating from Sprockets to Propshaft in Rails 8 | Saeloun Blog
A step-by-step guide to migrate our Rails 7.1 app from Sprockets to Propshaft, covering Bootstrap, jQuery, Select2, and gems without npm packages.Rails 8 introduces a significant change to the asset pipeline by making Propshaft the default asset p...