Module: MongoMapper

Defined in:
lib/mongo_mapper_ext/mongo_mapper/fixes.rb,
lib/mongo_mapper_ext/mongo_mapper/fixes.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/db_config.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/db_config.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/micelaneous.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/custom_scope.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/attribute_cache.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/attribute_convertors.rb,
lib/mongo_mapper_ext/carrier_wave/mongo_mapper/plugins/carrier_wave.rb,
lib/mongo_mapper_ext/mongo_mapper/plugins/belongs_to_with_counter_cache.rb

Overview

mount_uploader

Defined Under Namespace

Modules: Migration, Plugins Classes: ConnectionsPool, DatabasesPool

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.db_configObject

Returns the value of attribute db_config.



45
46
47
# File 'lib/mongo_mapper_ext/mongo_mapper/plugins/db_config.rb', line 45

def db_config
  @db_config
end

Class Method Details

.connectionsObject



51
52
53
# File 'lib/mongo_mapper_ext/mongo_mapper/plugins/db_config.rb', line 51

def connections
  @connections ||= ConnectionsPool.new
end

.databasesObject



55
56
57
# File 'lib/mongo_mapper_ext/mongo_mapper/plugins/db_config.rb', line 55

def databases
  @databases ||= DatabasesPool.new
end