Sha256: 3bd3af5effb7a9cd4aebfd2b8e5aa794dfc4ddaa1c8a6fc900bfcae9d8af50ae

Contents?: true

Size: 151 Bytes

Versions: 17

Compression:

Stored size: 151 Bytes

Contents

class CountryCode
  include Mongoid::Document
  field :code, :type => Integer
  key :code
  belongs_to :phone_number, :inverse_of => :country_codes
end

Version data entries

17 entries across 17 versions & 2 rubygems

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