flights:
id
arrival_city
departure_city
cities:
id
name
state_id
What is the best way to model this in rails?
Is it possible to use has_one twice, with different aliases?
Thanks,
Chris
flights:
id
arrival_city
departure_city
cities:
id
name
state_id
What is the best way to model this in rails?
Is it possible to use has_one twice, with different aliases?
Thanks,
Chris
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs