spec/models/phone.rb in mongoid_geospatial-2.0.0 vs spec/models/phone.rb in mongoid_geospatial-2.2.0

- old
+ new

@@ -1,9 +1,7 @@ class Phone include Mongoid::Document field :number - if Mongoid::VERSION < '3' - key :number - end + embeds_one :country_code embedded_in :person end