Have Some (Referential) Integrity with Foreign Keys
What is referential integrity and why is it important to your Rails apps?
The Bike Shed
The Bike Shed, hosted by myself and Sean Griffin, joins the thoughtbot podcast family.
My Friend Bobby
Everyone has the same Bobby Mac story.
A Tour of Rails’ jQuery UJS
What is that
//= require jquery_ujsline doing in your
application.jsfile? Let's dive in and find out!
Better Tests Through Internationalization
Clean up your views and write more resilient tests with internationalization.
Implementing Multi-Table Full Text Search with Postgres in Rails
Learn how to use Postgres to build full text search that spans multiple models in your Rails application.
The Perils of Uniqueness Validations
Uniqueness validations provide a good user experience in the way of friendly error messages, but they do not prevent duplicate data in any production environment with more than one thread or process.
Taming Factory Girl List Creation
If you're not careful, FactoryGirl's
create_listcan easily create well more records than needed for your tests.
Seamlessly Navigate Vim and tmux Splits
Jump between Vim and tmux splits with a single key combination.
Re-enabling Password Pasting
Some misguided web developers have decided pasting passwords should be prohibited. If you want to paste your secure password into one of these annoying web forms, then you've come to the right place.
Using rbenv with tmuxinator
Tmuxinator allows for easy configuration of tmux sessions, but it has not yet been updated for use with rbenv. A simple shell function can serve as to bridge the divide.
Gemify Assets for Rails
The asset pipeline allows us to depend on versioned external assets via RubyGems, but what happens if the asset you want to use isn't available as a Gem? Let's create an asset gem together!
Simple Navigation in Rails
The Simple Navigation gem makes advanced, multi-level navigation schemes simple to implement while maintaining a clear separation of concerns.
Upgrading Vim on OS X
The version of Vim that ships with Mac OS X is outdated. There are several rather simple options for updating Vim.
Embracing Promiscuous Gemfiles
By removing version constraints from your Gemfile until you have a good reason to add one, the bundle is simple to update and yet still provides equivalent version safety.
Using PeepOpen With RubyMine
Replace RubyMine's keyboard-based file navigation with PeepOpen.