Closed BrentBarnes closed 2 years ago
"Create a Flight model (with the departure and arrival airport ids, start datetime and flight duration)."
So since these flights have ids, should the be a belongs_to association?
<> Attributes departure_airport_id arrival_airport_id start_datetime flight_duration
"Create a Flight model (with the departure and arrival airport ids, start datetime and flight duration)."
So since these flights have ids, should the be a belongs_to association?