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:
$ bundleOr install it yourself as:
$ gem install polivalenteInstallation (copies migrations and initializer):
$ rails g polivalente:installCopy default User model:
$ rails g polivalente:userAlternatively, set the user_class in config:
Polivalente.configure do |config|
# ...
config.user_class = "MyUser"
endSetup devise:
$ rails g devise:installCopy locales (optional):
$ rails g polivalente:localesContributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.