Top Level Namespace

Defined Under Namespace

Modules: BaseObjects, FromHash, MongoHash, MongoPersist, MongoPersistCollection Classes: Array, Customer, Fixnum, Hash, MongoWrapper, NilClass, ObjCursor, Object, Order, OrderProduct, OrderedHash, Product, String

Instance Method Summary collapse

Instance Method Details

#dbObject



3
4
5
# File 'lib/mongo_persist/sandbox.rb', line 3

def db
  Mongo::Connection.new.db('test-db')
end