Finished chapter 3 exercises
4.24 of Ruby on rails tutorial.