lib/earth/locality/country.rb in earth-0.11.7 vs lib/earth/locality/country.rb in earth-0.11.8
- old
+ new
@@ -1,4 +1,7 @@
+require 'earth/automobile'
+require 'earth/hospitality'
+require 'earth/rail'
class Country < ActiveRecord::Base
set_primary_key :iso_3166_code
has_many :rail_companies, :foreign_key => 'country_iso_3166_code' # used to calculate rail data
has_many :lodging_classes, :foreign_key => 'country_iso_3166_code', :class_name => 'CountryLodgingClass'