Learning Rails 3 - Chapter 9 exercise