Rails-support for Reform.
Loads Rails-specific Reform files and includes modules like Reform::Form::ActiveModel
automatically.
Simply don't include this gem if you don't want to use the conventional Reform/Rails stack. For example in a Hanami environment or when using dry-validations, refrain from using this gem.
The full documentation can be found on the Trailblazer page.
Add this line to your application's Gemfile:
gem 'reform-rails'
Reform-rails needs Reform >= 2.2.
By default your tests will run against rails 4.2.0. Please ensure that you test your changes against all supported ruby and rails versions (see .travis.yml)
You can run tests for a specific version of rails by running the following:
export RAILS_VERSION=4.2.0; bundle update; bundle exec rake test
The gem is available as open source under the terms of the MIT License.