Read Agile Web Development with Rails chapters 15 & 16 (Rails in Depth and Active Support).
You will be tested on this material on the midterm.