Watch RailsCast 238 - Mongoid.