mongo_organizational
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with lshgo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
spec
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
mongo_organizational.gemspec

README.md

MongoOrganizational

Installation

Add this line to your application's Gemfile:

gem "mongo_organizational", :github => "lshgo/mongo_organizational"

Models add

include Mongoid::Organizational

Switch database

Mongoid::Organizational::Sessions.switch_organization(database_name)

Or install it yourself as:

$ gem install mongo_organizational