Ruby on Rails sample application (with MySQL modification) :attempt2