Comable::Apartment

Build Status Code Climate Dependency Status Gem Version

Multi-tenancy with Comable using the Apartment gem.

Installation

  1. Add this line to your application's Gemfile:
  gem 'comable-apartment'
  1. And then execute:
  $ bundle

Or install it yourself as:

  $ gem install comable-apartment
  1. Run the generator:
  $ bin/rake comable_apartment:install:migrations
  1. 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

  1. Fork it ( https://github.com/[my-github-username]/comable-apartment/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request