finished chapter 4 Rails Tutorial