Here’s how to automatically load any file generated by a rails generator in your editor
Tmux on Mac is awesome except for scrolling the scrollback using the mouse or trackpad. We see how to best set it up, with a patch to get it just right.
How to enable scrolling, selecting and resizing panes with the mouse in Tmux on Terminal.app
We explore the features of each way to set attributes in ActiveRecord for Rails 4.
A simple, easy method to start logging exceptions right now with just a few lines of code.
We see how to extend the asset pipeline with custom processors to do all sorts of things to our assets.
How to migrate from a custom password system to Devise with minimal impact on the user experience.
We explore the features of each way to set attributes in ActiveRecord in Rails 3
Rails 3 allows the developer to change ActiveRecord attributes in various ways. I describe five methods, each with its own unique side-effects. Includes handy cheat sheet.