GeistHaus
log in Β· sign up

https://railsnotes.xyz/feed.xml

rss
87 posts
Polling state
Status active
Last polled May 19, 2026 00:07 UTC
Next poll May 20, 2026 01:48 UTC
Poll interval 86400s
ETag W/"2c458d0e3f570fb23f7f839affea33ff"
Last-Modified Fri, 24 Apr 2026 19:56:45 GMT

Posts

Exploring the Blazer gem
blazeranalyticsgembi
Learn how to use the Blazer gem in your Ruby on Rails app to query data in SQL, build dashboards, and run automated checks.
https://railsnotes.xyz/blog/blazer-gem-rails
Internal product analytics with Ahoy
ahoyanalyticsgem
Learn how to use the Ahoy gem to track feature usage within your Ruby on Rails apps.
https://railsnotes.xyz/blog/ahoy-product-analytics
Stealthly Web Scraping in Ruby with Ferrum
ferrumweb-scraping
Learn how to setup Ruby and Ferrum for stealthy web scraping and browsing, including setting up correct headers, proxying requests, rotating your user agents, restricting bandwidth usage and more.
https://railsnotes.xyz/blog/ferrum-stealth-browsing
Using Rails debugger/rdbg with VS Code
vscodedevelopmentdebugger
A short introduction to the rdbg/debugger extension for VS Code, plus a guide on how to set it up correctly to debug your Ruby on Rails applications, as well as your RSpec specs. The VS Code extension takes 5 minutes to setup and it's great!
https://railsnotes.xyz/blog/rails-debugger-rdbg-vscode
A decent VS Code + Ruby on Rails setup
vscodedevelopment
Setting up VS Code for Ruby on Rails development can be tricky, so I wrote this article to help. In it, I share different VS Code extensions for things like autocomplete, linting, formatting and more! I've even put together a handy extension pack to get you setup fast.
https://railsnotes.xyz/blog/vscode-rails-setup
Here's what's coming in Rails 8
rails
Work on Rails 8 is starting, so I dug through the official GitHub milestone to break down all the upcoming goodies for you. There's plenty coming, including Solid Queue, Solid Cache and Kamal becoming defaults, better support for PWAs, an official LSP, and more!
https://railsnotes.xyz/blog/rails-8-whats-coming
Edit Rails Credentials using VS Code
credentialsvscode
This short guide shows you how to use VS Code to edit secrets in your Ruby on Rails app when you run `rails credentials:edit`. I also include a handy `bin/credentials:edit` script to simplify things.
https://railsnotes.xyz/blog/rails-credentials-vscode-edit
ActionMailer attachments in Ruby on Rails
actionmailer
ActionMailer makes it easy to attach files to your emails. In this article, I show you how to attach single or multiple files, set custom encodings and mime_types, and attach images as inline attachments to display in your email body.
https://railsnotes.xyz/blog/rails-actionmailer-attachments
Some ViewComponent tips (how I write them)
viewcomponentstips
In this article, I share tips for writing Rails ViewComponents, based on my experience building RailsNotes UI, and other projects. If you use ViewComponents in your Ruby on Rails apps, read this article!
https://railsnotes.xyz/blog/rails-viewcomponent-tips
Refactoring from feature specs to system specs
rspectestingrefactoring
In this article, I break down the difference between system specs and feature specs in RSpec and Rails, and walk you through refactoring your feature specs to system specs.
https://railsnotes.xyz/blog/feature-specs-to-system-specs
Build dynamic navs with current_page? (and conditional classes)
uiviewcomponents
This article explores a dynamic nav component I built using the current_page? helper method, plus Rails' conditional class helpers. The result? A simple, dynamic navbar component, with different styling based on current page. Plus I threw in the ViewComponent version too πŸ˜‰
https://railsnotes.xyz/blog/rails-dynamic-nav-current-page
Add a favicon to your Rails app in 2 minutes
tips
This is a super short article on how to add a favicon to your Ruby on Rails app. We combine the favicon_link_tag helper with asset_path, which makes it quick and easy.
https://railsnotes.xyz/blog/rails-add-favicon-2-minutes
A simple Stimulus Tabs Controller
stimulus
In this article, I share a handy Stimulus controller for adding tabs to your Rails apps. I also show you a different variation of the controller, and how to add it to your views. Plus, I've included a handy tip to avoid the annoying "flashing in" effect that can happen if you're not careful.
https://railsnotes.xyz/blog/simple-stimulus-tabs-controller
Preview Rails mailers with letter_opener, MailCatcher and MailHog
actionmailer
This article covers everything you ever wanted to know (and more) about previewing emails and ActionMailer templates in Ruby on Rails. I cover native ActionMailer previews, the letter_opener gem, MailCatcher and MailHog. I've tested them all, and I cover how to use them, and their pros and cons.
https://railsnotes.xyz/blog/preview-rails-emails-letter-opener-mailcatcher-mailhog
Skip the console with Rails Runner
tipsconsole
If you're sick of typing rails console all day, or just want to learn about a cool Rails command, I've got something that you're going to like β€”Β the rails runner command.
https://railsnotes.xyz/blog/skip-rails-console-with-rails-runner
Split your database seeds.rb by Rails environment
databaseseedingtips
This method to split your database seeds by Rails environment is clean and simple, and is perfect to split up your `seeds.rb` file. It's a brilliant method! I just wish I'd thought of it first πŸ˜…
https://railsnotes.xyz/blog/split-seeds-rb-by-rails-environment
Overmind πŸͺ¬, a better bin/dev for your Procfile
procfiledevelopmentpopular
Overmind is a Procfile manager on steroids β€” like Foreman and bin/dev, but... a lot better. It's deeply configurable, and integrates with tmux so you can stop, restart and attach to running processes.
https://railsnotes.xyz/blog/overmind-better-bin-dev-for-your-procfile-dev
Simple Lazy Loading in Rails with Hotwire and Turbo Frames
hotwiretailwindcsspopular
Hotwire and Turbo Frames make it easy to add lazy-loading into our Rails apps β€” I'm talking only 12 lines of code! Plus, we can use TailwindCSS to create a skeleton loader for our Turbo Frames.
https://railsnotes.xyz/blog/simple-lazy-loading-hotwire-turbo-frames-rails
Rails Generate Migration (handy reference)
databasemigrationsgeneratorspopular
A handy reference for generating migrations in your Ruby on Rails app β€” I cover the basics like adding columns and tables, adjusting column types (and loads more), plus some tips and tricks...
https://railsnotes.xyz/blog/rails-generate-migration
Adding Redis and Sidekiq to your Ruby on Rails app
redissidekiqdevelopmentprocfilepopular
Here are the basics of installing Redis and Sidekiq, and then adding Redis and Sidekiq to your Ruby on Rails app. This is everything you need to get set up β€”Β no fluff, just a couple of commands. Let's go!
https://railsnotes.xyz/blog/adding-redis-and-sidekiq-to-a-ruby-on-rails-app
Procfile.dev, bin/dev, and Rails 7 β€” how they work, why they're great.
developmentprocfilepopular
Rails 7 introduced a lot of new things, but honestly, the `bin/dev` script is the thing I notice the most. I want to try to give your some insight into how `bin/dev` and `Procfile.dev` work together...
https://railsnotes.xyz/blog/procfile-bin-dev-rails7
Deploying Ruby on Rails with Dokku (Redis, Sidekiq, ARM servers and Docker).
deploymentdokkudockerpopular
This is the ultimate Dokku + Ruby on Rails guide β€” I cover running Dokku on x86 and ARM, deploying Sidekiq and Redis, dockerizing our Ruby on Rails app, and more...
https://railsnotes.xyz/blog/deploying-ruby-on-rails-with-dokku-redis-sidekiq-arm-docker-hetzner
Replace .env with Rails Credentials in your Ruby on Rails app
credentials
A deep dive into the basics of Rails credentials, explore their benefits and drawbacks, and showing you how easy it is to integrate this powerful tool into your Rails app development process...
https://railsnotes.xyz/blog/custom-credentials-in-your-rails-app
Deploying a Ruby on Rails App on Render with a Database, Redis, Sidekiq, and Cron Jobs
renderdeployment
A full guide for deploying a Ruby on Rails app to Render with a database, Redis, Sidekiq, and Cron jobs. This guide steps you through deploying your Rails app to Render, including setting up Redis, Sidekiq and Cron jobs to give you a great production-ready starter.
https://railsnotes.xyz/blog/deploying-ruby-on-rails-on-render-with-databse-redis-sidekiq-cron