Posts

Common (Non-standard) Ruby on Rails Migrations

I've always liked the way Rails handles migrations, here is a cheat sheet of the ones I do often.

Saying Goodbye To Typo CI

I decided it was time to close Typo CI. Before I pulled the plug, I want to document why it failed.

Moving From Tailwind To CSS Variables

I converted a project from Tailwind CSS to more vanilla-er CSS (i.e using CSS Variables, normalize.css, Mixins & PostCSS). This demonstrates the new code & my thoughts on using Tailwind going forward.

How To Handle Special Actions In Ruby on Rails Controllers?

Should we add an custom action to a controller, or is using RESTful actions within a namespaced controller better? Let's compare the approaches!

How To Use API Keys for your SendGrid SMTP Integration

SendGrid emailed me saying I needed to use an API Key for their Heroku Add-on. Here is how I configured it for Ruby on Rails.

How to Make Rails Work Offline (PWA)

I've been experimenting with Progressive Web Apps to allow Rails to fallback to a read-only mode when the server is unreachable.

How I write my RSpec Specs

I'm a big fan of TDD, this is my approach for keeping my RSpec specs super tidy.

How To Be Serverless on Heroku

Did you know you can do serverless on Heroku? Here is how I managed it.

Is reset_column_information a code smell?

I've used `reset_column_information` in a lot of Ruby on Rails migrations, but it's frequently bitten me in the future. Here are my thoughts on if we should keep using it.

Managing Multiple Software Versions in Parallel

I use both Docker & asdf, they're pretty nifty!