Sha256: 9808d983b3eddffd1120252884e65ce34972d1c9d674b75f80bf0956f9294df8

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

require 'plucky'
require 'toy'
require 'toy/identity/object_id_key_factory'
require 'toy/mongo/querying'
require 'adapter/mongo'


module Toy
  module Mongo
    extend ActiveSupport::Concern

    included do
      include Querying
    end
  end
end

Toy.key_factory = Toy::Identity::ObjectIdKeyFactory.new
Toy.plugin(Toy::Mongo)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
toystore-mongo-0.6.0 lib/toy/mongo.rb
toystore-mongo-0.5.0 lib/toy/mongo.rb