Practice for Ruby on Rails ver 2