DRYParams
This gem is only compatible with Ruby on Rails 4.0 and the new feature Strong Parameters.
The DRYParams gem targets to DRY (Don't Repeat Yourself) the controller code in factoring the private mthods.
Next
- Support Rails 3 with Strong Parameters gem.
Installation
Add this line to your application's Gemfile:
gem 'dryparams'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dryparams
Documentation
To get more informations about this gem, please visit RubyDoc.
Contributing
- Fork it
- 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 new Pull Request
License
MIT License. See the MIT-LICENSE file.