lib/earth/air/flight_segment.rb in earth-0.0.24 vs lib/earth/air/flight_segment.rb in earth-0.0.26

- old
+ new

@@ -1,10 +1,10 @@ class FlightSegment < ActiveRecord::Base set_primary_key :row_hash extend CohortScope - self.minimum_cohort_size = 5 #FIXME ?? + self.minimum_cohort_size = 1 belongs_to :airline, :foreign_key => 'airline_iata_code' belongs_to :origin_airport, :foreign_key => "origin_airport_iata_code", :class_name => 'Airport' belongs_to :destination_airport, :foreign_key => "dest_airport_iata_code", :class_name => 'Airport' belongs_to :origin_country, :foreign_key => 'origin_country_iso_3166_code', :class_name => 'Country' @@ -24,15 +24,6 @@ process "pull dependencies" do run_data_miner_on_belongs_to_associations end end - - INPUT_CHARACTERISTICS = [ - :origin_airport, - :destination_airport, - :aircraft, - :airline, - :propulsion, - :domesticity - ] end