-
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_context
such ason: :create
oron: :update
- Fixed a bug that
required: false
helper option does not overriderequired: true
value from PresenceValidator [@sandipransing]
-
Rails 5 support
-
Changed
auto_html5_validation
config 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
maxlength
validation for inputs which can be blank was ignored [@kv109] -
Fixed a bug that
auto_html5_validation
was not properly enabled for models that are loaded after loading this gem
-
Switched from
alias_method_chain
toModule#prepend
on Ruby 2 and Rails 4 -
Added
minlength
support
- Fixed undefined method
auto_html5_validation
error for non-AR Active Model models
- Fixed a bug that
minlength / maxlength
values were assigned tomin / max
-
Added global
Html5Validators.enabled
flag [@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 => false
still creates aninstance_accessor
on AR 3.0 and 3.1
- Rails 4 support
- Added
maxlength
validator support fortext_area
[@ursm]