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