3.1.3
- Fix issue in Collection Wrapper which was still using deprecated Rails functionality
3.1.2
- Fix Ruby 3 deprecations
3.1.1
- Make Gem compatible with Rails 6.1
- Support
reject_ifoption onexpose_collection_of. Thanks @Dhamsoft.
- Support
save(validate: false)andsave!(validate: false). - Change callback order to better match ActiveRecord: validation callbacks fire before
before_savefires, and model callbacks fire before the form'safter_validationcallback fires. - Collect errors from collection forms and present them on the form itself. Thanks @Dhamsoft.
- Add
take_identity_fromto improve interoperability with standard resource ('RESTful') controllers and form helpers.
- Support non-array argument to
expose. - Fix compatibility with
ActionController::Parameters.
- Fill in the validation error message for Rails 4.2.
- Remove the previously existing transaction caveat around model-less saves.
- Implement support for introducing typed "artificial" attributes.
- Fix regressions in support for Rails 4.2.
- Support some additional attribute methods such as
*_wasand*_changed?.
- New expose syntax to support prefix:, suffix:, and as: options.
- First public release.