Rails stuff for a course.