Suppose I have 3 models Car, Motorcycleand Truck, for each, I must introduce a lot of things, such as a list of known previous owners, traffic tickets, license plates, etc. Therefore, I created a model for each ( PreviousOwners, PreviousPlatesetc.) and established polymorphic associations for related models.
The problem is, how can I introduce all this using only one form, sort of like:
Car #123
Known previous owners:
Jason Jazz
Brian Bass [add another]
Known previous license plates:
12345
67890 [add another]
Current status:
Cleared
(this is a dropdown select menu, CurrentStatus is also a polymorphic association, but with predefined values.)
etc
This proves that this is a bitch far surpassing my level of knowledge (newbie here). Resources are not nested, and almost everything I find on several models is for nested resources, and nothing seems to apply to polymorphic associations.
( , , Vehicle "Car" .. , .)
.