Archiving Rails Database Migrations by Year
This rake task helps archive old database migrations into /db/migrate/archives/{yyyy}/ folders.
How To Organize ViewComponents in Rails
Some examples of common folder namespaces I will use for organizing ViewComponents
A Custom Outdated Gems Script to Speed Up Rails Dependency Upgrades [+ Video]
I built a custom implementation of `bundle outdated` that adds more granular data on number of versions available, release dates, readme links, explicit vs implicit status, and then helps automate the process of pivot tabling the audit results to create a custom outdated gems audit.
The Ideal CMS Structure For Rails
After working on WordPress for 20 years, Ghost for 5 years, and Rails for 8 years, this is the pattern I wish all Rails apps would use for basic content pages.
Articles
2025
10 min read
How to Generate a Custom Heroku Maintenance Mode Page
You can set a simple ENV VAR to deliver a custom branded Maintenance Mode landing page.
How to generate nicer sitemaps with the sitemap_generator gem
Let's walk through our /config/sitemap.rb setup with `sitemap_generator` to break up our sitemap structure into multiple files.
How to Test SEO Meta Tag Requirements in RSpec
Recently I have been testing various SEO requirements in a Rails app that uses Rspec.
After copy and pasting expect(