Created
July 9, 2013 19:40
-
-
Save blake41/5960586 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Build the Flatiron School | |
# Goal - To reinforce controllers, models, and forms and the interaction between them. | |
Per usual we're going to create restful routes for the following objects. | |
School, Course, Student, Teacher | |
Schools have courses | |
courses have students | |
courses have one teacher | |
Schools have teachers through courses | |
We'd like to be able to create a new school, create a course, assign it a teacher, and give it some students | |
Courses should be a nested resource of a school ie I should be able to go to /schools/1/courses to see a list of all the courses for a school. /schools/1/courses/4/students should show me all the students enrolled in the 4th course of the 1st school. etc etc. Your views should show the properties of the object we're viewing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment