DRYParams Gem Version Build Status Coverage Status Code Climate Dependency Status

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

  1. Fork it
  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 new Pull Request

License

MIT License. See the MIT-LICENSE file.