Finished chapter 5 exercises for Rails Tutorial