Open joel-thompson opened 4 years ago
[x] model for fork and shock
[x] model for bike
[x] association for bike / fork / shock
[x] rest controllers for fork/shock/bike
[x] finish and specify requirements/models for bracketing session
[ ] make UI for creating bikes and suspension parts
[ ] create suspension settings and bracketing session models
bracketing is explained here: https://www.youtube.com/watch?v=8PLFfZSkgDs&t=126s
what do I need to model?
main objects
bike (so you can bracket for multiple bikes) model/name, active shock, active fork, user
fork (choose fork on bike) model/name, available adjustments, user
shock (choose active shock) model/name, available adjustments, user
not exactly sure how i want to do the association between bike -> fork/shock. probably will need to maintain history in order to not break things if you replace a part. so I will need to associate through another table, and probably use something like state of the nation to keep track.
tracking active suspension parts (association)
part_assignments
potential available adjustments
what does a "bracketing session" look like, and how is it modeled?
may rename this to be more generic. i could see having a single one for just doing hard adjustments.