Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Flight < ActiveRecord::Base
- belongs_to :journey
- belongs_to :departure_airport, :class_name => "Airport"
- belongs_to :arrival_airport, :class_name => "Airport"
- belongs_to :airline
- end
Add Comment
Please, Sign In to add comment