Sha256: ee8576c24cb381a5012c079036df19cde17cb2c1b12d43bc3538b4cf1ea6fc9c

Contents?: true

Size: 198 Bytes

Versions: 28

Compression:

Stored size: 198 Bytes

Contents

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

Version data entries

28 entries across 28 versions & 8 rubygems

Version Path
mongoid_paranoia-0.4.0 spec/app/models/phone.rb
mongoid_paranoia-0.3.0 spec/app/models/phone.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/bundler/gems/mongoid-paranoia-83dc8de7b426/spec/app/models/phone.rb
mongoid-paranoia-1.3.0 spec/app/models/phone.rb
mongoid-paranoia-1.2.0 spec/app/models/phone.rb
mongoid-paranoia-1.1.0 spec/app/models/phone.rb
mongoid_paranoia-0.2.1 spec/app/models/phone.rb
mongoid_paranoia-0.2.0 spec/app/models/phone.rb
mongoid-paranoia-1.0.1 spec/app/models/phone.rb
mongoid-3.1.7 spec/app/models/phone.rb
mongoid-paranoia-1.0.0 spec/app/models/phone.rb
mongoid-versioning-1.0.0 spec/app/models/phone.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/phone.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/phone.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/phone.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/phone.rb
mongoid-3.1.6 spec/app/models/phone.rb
sepastian-mongoid-paranoia-rails4-0.0.1.alpha spec/app/models/phone.rb
mongoid-3.1.5 spec/app/models/phone.rb
mongoid_heroku_stable-4.0.0 spec/app/models/phone.rb