Sha256: 0f5fe257d8797e3d6d9bb5676eb1fc3280ef5415acbcecd55e69efb1e7d58b3c

Contents?: true

Size: 239 Bytes

Versions: 24

Compression:

Stored size: 239 Bytes

Contents

module Fruits
  class Apple
    include Mongoid::Document
    references_many :bananas, :class_name => "Fruits::Banana"
  end

  class Banana
    include Mongoid::Document
    referenced_in :apple, :class_name => "Fruits::Apple"
  end
end

Version data entries

24 entries across 24 versions & 5 rubygems

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