day-17 assignment. rails - models and views.