Object
MongoMapper.connection = Mongo::Connection.new(‘hostname’) MongoMapper.database = ‘mydatabasename’