Skip to content

Releases: citizensadvice/ruby-gem-strong_attributes

v1.4.0

12 Sep 08:36
c836ecc
Compare
Choose a tag to compare
  • If an ActionController::Parameters is passed as parameters these will automatically marked as permitted
  • Added attributes_from_user method to return only the user supplied attributes

v1.3.0

18 Apr 14:40
b487e0d
Compare
Choose a tag to compare
  • Array attributes now allow a "type" keyword argument instead of the third positional argument

v1.2.0

05 Sep 13:46
e819ade
Compare
Choose a tag to compare
  • Added a prefix option to the CopyErrorsValidator
  • Updated the copy_errors argument on nested attributes to pass any options to the CopyErrorsValidator

v1.1.0

18 Aug 09:23
3cd3971
Compare
Choose a tag to compare
  • Adds a default option to nested attributes. This differs from the initial_value option in that it is only called if no user value is provided.

v1.0.0

12 Jul 13:40
6e3fffa
Compare
Choose a tag to compare

No changes