For learning development of rails, imitate book