- Work on this assessment independently. DO NOT discuss with anyone.
- Fork this repository
- Clone your fork
- Run
bundle
- Complete the tasks below
- When you are finished with the tasks, push your code to the master branch of your forked repository.
-
Set up a many to many relationship between students and courses
- Courses should have a name
- Students should have a name
- Students should have a grade for each course they are associated with. This grade should be a decimal number.
-
Complete the following user stories:
User Story 1, Student Show Page
As a user,
When I visit a student show page
Then I see
- the student's name
- the name of each course the student is enrolled in
- the student's grade for each course
User Story 2, Course Index Page
As a user,
When I visit a course index page,
Then I see each course in the system including:
- the course's name
- each student in the course listed in order from highest grade to lowest grade