-
Added support for
form_with[@DialBird] -
Enhanced support for non-AR applications to load all necessary monkey-patches on application initialization
- Added support for AR
validation_contextsuch ason: :createoron: :update
- Fixed a bug that
required: falsehelper option does not overriderequired: truevalue from PresenceValidator [@sandipransing]
-
Rails 5 support
-
Changed
auto_html5_validationconfig behavior not to propagate to children classes
-
Dropped Ruby 1.8 support
-
Dropped Ruby 1.9 support
-
Dropped Rails 3.2 support
-
Fixed a bug that
maxlengthvalidation for inputs which can be blank was ignored [@kv109] -
Fixed a bug that
auto_html5_validationwas not properly enabled for models that are loaded after loading this gem
-
Switched from
alias_method_chaintoModule#prependon Ruby 2 and Rails 4 -
Added
minlengthsupport
- Fixed undefined method
auto_html5_validationerror for non-AR Active Model models
- Fixed a bug that
minlength / maxlengthvalues were assigned tomin / max
-
Added global
Html5Validators.enabledflag [@sinsoku] -
Fixed a bug that some Symbol keyed helper options were ignored [@lucas-nelson]
- Fixed a bug that AR::Base.inherited conflicts with other gems [@tricknotes]
- Fixed a bug that
cattr_accessor+:instance_accessor => falsestill creates aninstance_accessoron AR 3.0 and 3.1
- Rails 4 support
- Added
maxlengthvalidator support fortext_area[@ursm]