Sha256: 092d54945b52a33fc1822fdb2e6b81ad3c2d11ea1c96ffaee39e8ec7f0ac61b2
Contents?: true
Size: 521 Bytes
Versions: 38
Compression:
Stored size: 521 Bytes
Contents
class Airline < ActiveRecord::Base set_primary_key :iata_code # has_many :airline_aircraft, :class_name => 'AirlineAircraft' # has_many :seat_classes, :class_name => 'AirlineSeatClass' has_many :segments, :class_name => "FlightSegment", :foreign_key => 'airline_iata_code' # has_many :airline_aircraft_seat_classes, :class_name => 'AirlineAircraftSeatClass' data_miner do tap "Brighter Planet's sanitized airlines data", Earth.taps_server end def all_flights_domestic? !international? end end
Version data entries
38 entries across 38 versions & 2 rubygems