What are our Nested Routes? (We need a nested new route and either a nested index or nested show route)
# table migration for: examples
# t.string :name
# t.string :etc…
class Example
# relationships
# validations
# user submittable attributes (if this is a join model)
# scope_methods (if any)
end
Project Examples to flesh out:
- Doctor, Patient and Appointment
- User, Project, Task
- Project, Programmer, Assignment
- Recipe, Ingredient, RecipeIngredient
- User, Exercise, ExerciseLog
- User, Topic, Interest
- User, Medication, Prescription
- User, Movie, Review
- Dancer, DanceClass, Enrollments
- Character, Motivation, Alignment
@DakotaLMartinez please review, I've started it but need help finishing/making sure this even works to begin with
What is the Many to many relationship and how is it used?
Users <> Libraries through Performance Ratings
library.users && user.libraries - not created, just rated
What is the User Submittable attribute on the join model?
What Validations do we need?
Users
Libraries
Language
Performance Rating
How do users fit into the application? How are they related to the other models?
What are our Nested Routes? (We need a nested new route and either a nested index or nested show route)
languages/language_id/libraries - nested index - shows libraries specific to language_id
languages/language_id/libraries/new - nested new - form to create lib with lang preset
Do we have Non Nested Versions of those nested routes?
/libraries/ - shows all libraries
/libraries/new - form to create lib without preset lang
What Scope Method(s) do we have and how are they used?
What does the schema for our app look like?
Project Examples to flesh out: