Reform::Rails

August 25, 2025 ยท View on GitHub

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

Please ensure that you test your changes against all supported ruby and rails versions

You can run tests for a specific version of rails by running the following:

BUNDLE_GEMFILE=Gemfile-rails7.0 bundle install
BUNDLE_GEMFILE=Gemfile-rails7.0 bundle exec rake test

License

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