I’m still working on RoR
right now i’m fighting against relationship.
I generated 3 scaffolds
all the 3 CRUD works and now in the database I’ve many engines , many
wheel and many cars.
I want to correlate this object but how do it ?
I must say that car has_one engine and engine belongs_to car
(every car can have only one engine)
or i must write that engine has_many cars and car belongs_to engine
(one engine is used on many different car)
or I need to create a new scaffold like road_ready_car which has_one
engine , has_one car and has_many wheels