Working on a flight endpoint in Rails...