Skip to main content

Posts

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!

Admin Panels In Rails 6 (Video Series)

I really like using ActiveAdmin for building admin panels within my Rails Apps. I've put together a quick video series to introduce people to it.

How to manage external links via Rails Routes

Linking to a 3rd party site & want to a nifty helper method? Here is a neat trick I found to solve this.

Ruby: Using the Double Splat (**) with Keyword Arguments

The double splat operator (**) in Ruby is really powerful, here's some examples of how to use it with Keyword Arguments.

Fixing ActiveRecord::ConnectionTimeoutError exceptions

I started seeing errors like ActiveRecord::ConnectionTimeoutError & Rack::Timeout::RequestTimeoutException, here is how I sorted it.

An Introduction To Stimulus.js

I wrote an article for Smashing Magazine about Stimulus.js

How To Use List-Unsubscribe Headers In Action Mailer

Ever seen "Unsubscribe" links in your email client? Here's how to add them in Rails Action Mailer.