Comable::Apartment
Multi-tenancy with Comable using the Apartment gem.
Installation
- Add this line to your application's Gemfile:
gem 'comable-apartment'
- And then execute:
$ bundle
Or install it yourself as:
$ gem install comable-apartment
- Run the generator:
$ bin/rake comable_apartment:install:migrations
- Add the following to your
config/routes.rb
:
Rails.application.routes.draw do
Comable::Apartment.routes self
...
end
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/[my-github-username]/comable-apartment/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request