Chapter 2 of Rails 4 in Action