Skip to content

christopher-fuller/mongodb_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb_console

A gem that provides a Rake task for opening a MongoDB console for the current Rails.env

Prerequisites

Rails must be configured to use either Mongoid or MongoMapper.

Please get in touch if you’d like to see added support for another MongoDB object mapper (ODM).

Installation

$ gem install mongodb_console

Rails Configuration

Add to Gemfile:

gem 'mongodb_console'

Rake Tasks

To open a MongoDB console for the current Rails.env:

$ rake db:mongo:console

Copyright © 2012 Christopher Fuller. See MIT-LICENSE for details.

About

A gem that provides a Rake task for opening a MongoDB console for the current Rails.env

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages