lib/earth/locality/zip_code.rb in earth-0.11.16 vs lib/earth/locality/zip_code.rb in earth-0.11.17
- old
+ new
@@ -1,5 +1,5 @@
-require ::File.join(Earth.vendor_dir, 'geokit-rails', 'lib', 'geokit-rails')
+require ::File.join(Earth::VENDOR_DIR, 'geokit-rails', 'lib', 'geokit-rails')
class ZipCode < ActiveRecord::Base
self.primary_key = "name"
belongs_to :egrid_subregion, :foreign_key => 'egrid_subregion_abbreviation'