Sha256: bc9c51a23077b93c13187c45297ab62640f61924172dfa42fccacfd8d7ea1dcb

Contents?: true

Size: 294 Bytes

Versions: 24

Compression:

Stored size: 294 Bytes

Contents

# These models used for Github 263
class Slave
  include Mongoid::Document
  field :first_name
  field :last_name
  embeds_many :address_numbers
end

class AddressNumber
  include Mongoid::Document
  field :country_code, :type => Integer, :default => 1
  field :number
  embedded_in :slave
end

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
mongoid_spacial-0.2.17 spec/models/slave_address_numbers.rb
sig_mongoid_spacial-0.2.17 spec/models/slave_address_numbers.rb
cb_mongoid_spacial-0.2.16 spec/models/slave_address_numbers.rb
mongoid_geospatial-1.0.0 spec/models/slave_address_numbers.rb
mongoid_geospatial-1.0.0rc1 spec/models/slave_address_numbers.rb
mongoid_geospatial-1.0.0rc0 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.16 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.13 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.12 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.11 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.10 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.8 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.7 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.6 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.5 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.4 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.3 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.2 spec/models/slave_address_numbers.rb
mongoid_spacial-0.2.0 spec/models/slave_address_numbers.rb
mongoid_spacial-0.1.1 spec/models/slave_address_numbers.rb