generated a new related courses model for a one(student) to many (courses) relationship. The command was:
rails generate model Course student_id:integer title description:text start_date:date end_date:date location semester course_id
and then
rake db:migrate
creating the one to many relationship in rails for students and courses
 Adding in the registration model which will be our join table for the
course many to many student relationship.
command was:
rails g model Registration student_id:integer course_id:integer
registration_number completed:boolean
and then
rake db:migrate
Monday's class work on a many to many relationship - we changed the one-to-many for student - courses into a many-to-many students - courses