Home

Awesome

Reform::Rails

Gitter Chat TRB Newsletter Build
Status Gem Version

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.

Documentation

The full documentation can be found on the Trailblazer page.

Installation

Add this line to your application's Gemfile:

gem 'reform-rails'

Reform-rails needs Reform >= 2.3.

Contributing

By default your tests will run against rails 6.0.1. 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=5.0.0; bundle update; bundle exec rake test

License

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