Sha256: 30cd9b24792255f27483c656963c67adc5f0b2229a17576332e6f79057cc9490

Contents?: true

Size: 191 Bytes

Versions: 13

Compression:

Stored size: 191 Bytes

Contents

module Mongoid::MultiDatabase
  extend ActiveSupport::Concern

  module ClassMethods

    def database; @database end
    def set_database(name)
      @database = name.to_s
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
mongoid-braxton-2.0.2 lib/mongoid/multi_database.rb
mongoid-2.0.2 lib/mongoid/multi_database.rb
mongoid-2.0.1 lib/mongoid/multi_database.rb
mongoid-2.0.0 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.8 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.7 lib/mongoid/multi_database.rb
stonegao-mongoid-2.0.0.rc.6 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.6 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.5 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.4 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.3 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.2 lib/mongoid/multi_database.rb
mongoid-2.0.0.rc.1 lib/mongoid/multi_database.rb