lib/earth/locality/zip_code.rb in earth-0.3.3 vs lib/earth/locality/zip_code.rb in earth-0.3.4
- old
+ new
@@ -4,11 +4,9 @@
belongs_to :egrid_subregion, :foreign_key => 'egrid_subregion_abbreviation'
belongs_to :climate_division, :foreign_key => 'climate_division_name'
belongs_to :state, :foreign_key => 'state_postal_abbreviation'
# has_one :census_division, :through => :state
# has_one :census_region, :through => :state
- has_many :residences
-
acts_as_mappable :default_units => :miles, # FIXME imperial
:lat_column_name => :latitude,
:lng_column_name => :longitude