To generate this project, do the following on the command line:
rails generate scaffold student name:string
rails generate scaffold course name:string
rails generate model enrollment student_id:integer course_id:integer
rake db:migrate
Feel free to submit a pull request, or ask any questions!