Polivalente

Reusable generic features for Rails applications

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem "polivalente"

And then execute:

$ bundle

Or install it yourself as:

$ gem install polivalente

Installation (copies migrations and initializer):

$ rails g polivalente:install

Copy default User model:

$ rails g polivalente:user

Alternatively, set the user_class in config:

Polivalente.configure do |config|
  # ...
  config.user_class = "MyUser"
end

Setup devise:

$ rails g devise:install

Copy locales (optional):

$ rails g polivalente:locales

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.