spec/app/models/phone.rb in mongoid_paranoia-0.4.0 vs spec/app/models/phone.rb in mongoid_paranoia-0.4.1
- old
+ new
@@ -1,11 +1,11 @@
-class Phone
- include Mongoid::Document
-
- attr_accessor :number_in_observer
-
- field :_id, type: String, default: ->{ number }
-
- field :number
- embeds_one :country_code
- embedded_in :person
-end
+class Phone
+ include Mongoid::Document
+
+ attr_accessor :number_in_observer
+
+ field :_id, type: String, default: ->{ number }
+
+ field :number
+ embeds_one :country_code
+ embedded_in :person
+end