When using bootstrap_form > v5.1.0 with rails v6.1.7.4 i receive the following deprecation warning:
DEPRECATION WARNING: Calling <<to an ActiveModel::Errors message array in order to add an error is deprecated. Please callActiveModel::Errors#add instead.
I believe its coming from this line:
https://github.com/bootstrap-ruby/bootstrap_form/blob/main/lib/bootstrap_form/components/validation.rb#L74
When using
bootstrap_form>v5.1.0with railsv6.1.7.4i receive the following deprecation warning:DEPRECATION WARNING: Calling<<to an ActiveModel::Errors message array in order to add an error is deprecated. Please callActiveModel::Errors#addinstead.I believe its coming from this line:
https://github.com/bootstrap-ruby/bootstrap_form/blob/main/lib/bootstrap_form/components/validation.rb#L74