This is my homework for the course Ruby on Rails.