My problem is that routepoints defines an ordered list of waypoints for
a given route (using “seqno”). Is it possible to use acts_as_list
somehow? I will also need other attributes of routepoints (like
estimated time enroute, fuel burn, etc.).
Being new to Rails, I would appreciate some help defining some database
table relationships. I have the following tables:
…
My problem is that routepoints defines an ordered list of waypoints for
a given route (using “seqno”). Is it possible to use acts_as_list
somehow? I will also need other attributes of routepoints (like
estimated time enroute, fuel burn, etc.).
You’ll want to use has_many :through associations and a join model. Read
the API docs, read the wiki, read my blog.