Chapter 2 of RoR tut