Sha256: d731bf6cc625a3c5864bb47374fd7315b786cb39eda4d9057f63f5301815c7b0

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

require 'plucky'
require 'toy'
require 'toy/extensions/bson_object_id'
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

1 entries across 1 versions & 1 rubygems

Version Path
toystore-mongo-0.7.0 lib/toy/mongo.rb