Sha256: 096c2a6acaabf497ecaf73c7d7395a1cec7de7ac8215748d2a4671647802b2cb

Contents?: true

Size: 149 Bytes

Versions: 17

Compression:

Stored size: 149 Bytes

Contents

class Phone
  include Mongoid::Document
  field :number
  key :number
  belongs_to :person, :inverse_of => :phone_numbers
  has_one :country_code
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
mongoid-1.2.14 spec/models/phone.rb
mongoid-1.2.13 spec/models/phone.rb
mongoid-1.2.12 spec/models/phone.rb
mongoid-1.2.11 spec/models/phone.rb
mongoid-1.2.10 spec/models/phone.rb
mongoid-1.2.9 spec/models/phone.rb
mongoid-1.2.8 spec/models/phone.rb
mongoid-1.2.7 spec/models/phone.rb
mongoid-pre-2.0.0.pre spec/models/phone.rb
mongoid-1.2.6 spec/models/phone.rb
mongoid-1.2.5 spec/models/phone.rb
mongoid-1.2.4 spec/models/phone.rb
mongoid-1.2.3 spec/models/phone.rb
mongoid-1.2.2 spec/models/phone.rb
mongoid-1.2.1 spec/models/phone.rb
mongoid-1.2.0 spec/models/phone.rb
mongoid-1.1.4 spec/models/phone.rb