Sha256: 34f0b2b1c19f8d6a649022d1ef1fabb1230526cc0d2fc1a597898e73268f20ad

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

module Bigamy

  class MongoBelongsTo < BelongsTo
    def initialize parent, name, options
      super
      me.key foreign_key
    end
  end

  class MongoHasMany < HasMany
  end

  class MongoHasOne < HasOne
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bigamy-0.2.2 lib/bigamy/mongo.rb
bigamy-0.2.1 lib/bigamy/mongo.rb
bigamy-0.2.0 lib/bigamy/mongo.rb
bigamy-0.1.2 lib/bigamy/mongo.rb
bigamy-0.1.1 lib/bigamy/mongo.rb
bigamy-0.1.0 lib/bigamy/mongo.rb