0.2
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
Automatically load and include all common Reform features for a standard Rails environment.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.3.1, < 3.0.0
 Project Readme

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.