class XRef

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