app/models/city.rb in geopolitical-0.8.0 vs app/models/city.rb in geopolitical-0.8.1
- old
+ new
@@ -2,13 +2,13 @@
include Mongoid::Document
include Mongoid::Geospatial
include Geopolitical::Helpers
field :gid, type: Integer
+ field :zip, type: String
field :slug, type: String
field :name, type: String, localize: true
field :area, type: Integer
- field :zip, type: Integer
field :souls, type: Integer
field :geom, type: Point, spatial: true
# field :ascii, type: String
spatial_scope :geom