- Allow to override
#persisted?
and friends with modules.
- Fix: Delegating from form object causes ArgumentError with 0.2.4 (#99)
- Fix keyword argument warning in
method_missing
(#97) - Internal: Replace Uber::Delegates with Forwardable in Form::ActiveModel
- Fix deprecation warning related to
respond_to?
- Support ActiveRecord 6.1
- Error's full_message with translation fixed thanks to @marcelolx
- Needs Reform >= 2.3.0.
- make the inclusion of ActiveModel form builder modules optional when using dry-validation. This can be controlled via
config.reform.enable_active_model_builder_methods = true
. - delegate
validates_each
method and allow it to be called outside a validation block. - add
case_sensitive
option to Reform Uniqueness validation. Defaults to true. - fix bug in uniqueness validation where form has different attribute name to column
- improve handling of persisted records in uniqueness validator
- remove params.merge! as it's deprecated in rails 5
- update to support reform 2.3, the new API means that
errors.add
is delegated to ActiveModel::Errors to support rails 5 - Fix nested form validation (#53)
- Errors supports symbol and string lookup (PR #77)
- Implement respond_to that delegates to AMV errors (PR #78)
- Drop support for activemodel before 5.0
- Drop support to mongoid < 4.
- Fix a bug where requiring
form/active_model/validations
in a non-Rails environment wouldn't load all necessary files.
- Allow using Reform-Rails without Rails (it used to crash when not loading
rails.rb
).
- Allow setting
config.reform
in initializers, too.
- Introduce a railtie to load either
ActiveModel::Validations
orDry::Validations
. This can be controlled viaconfig.reform.validations = :dry
.
- Allow Reform-2.2.0.rc1 in gemspec.
- First working release.