Auto Open Rails Generator Files

Here’s how to automatically load any file generated by a rails generator in your editor

Read more »

Better mouse scrolling in Tmux

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.

Read more »

Enable Mouse Support in Tmux on OS X

How to enable scrolling, selecting and resizing panes with the mouse in Tmux on Terminal.app

Read more »

Different Ways to Set Attributes in ActiveRecord (Rails 4)

We explore the features of each way to set attributes in ActiveRecord for Rails 4.

Read more »

An Easy Javascript Error Logger using Google Analytics

A simple, easy method to start logging exceptions right now with just a few lines of code.

Read more »

Writing custom Asset Pipeline processors to compress images

We see how to extend the asset pipeline with custom processors to do all sorts of things to our assets.

Read more »

How to: Migrate passwords from legacy systems to Devise

How to migrate from a custom password system to Devise with minimal impact on the user experience.

Read more »

A Distributed Mutex and Semaphore using Redis

We explore the features of each way to set attributes in ActiveRecord in Rails 3

Read more »

Different Ways to Set Attributes in ActiveRecord (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.

Read more »