lib/earth/air/flight_segment.rb in earth-0.11.12 vs lib/earth/air/flight_segment.rb in earth-0.11.13
- old
+ new
@@ -1,12 +1,9 @@
require 'earth/locality'
class FlightSegment < ActiveRecord::Base
self.primary_key = "row_hash"
- extend CohortScope
- self.minimum_cohort_size = 1
-
# Cutting this for now because if iata code is missing we have to look up airports using both city and country; don't know how to do this with ActiveRecord
# - Ian 6/12/2011
# # If airport iata code is missing, associate with all airports in a city
# # We need this to calculate distance when importing ICAO segments - see cm1 flight_segment.rb
# has_many :origin_city_airports, :foreign_key => 'city', :primary_key => 'origin_airport_city', :class_name => 'Airport'