Notable changes since 3.2: - Add ActiveModel::ForbiddenAttributesProtection, a simple module to protect attributes from mass assignment when non-permitted attributes are passed. - Added ActiveModel::Model, a mixin to make Ruby objects work with Action Pack out of box. - Added new API methods reset_changes and changes_applied to ActiveModel::Dirty that control changes state. - Ability to specify multiple contexts when defining a validation. - attribute_changed? now accepts a hash to check if the attribute was changed :from and/or :to a given value. - Introduced validate as an alias for valid?. - Introduced the restore_attributes method in ActiveModel::Dirty to restore the changed (dirty) attributes to their previous values. - has_secure_password no longer disallows blank passwords (i.e. passwords that contains only spaces) by default. - has_secure_password now verifies that the given password is less than 72 characters if validations are enabled.
6 lines
410 B
Text
6 lines
410 B
Text
$NetBSD: distinfo,v 1.1 2017/04/18 02:05:27 minskim Exp $
|
|
|
|
SHA1 (activemodel-4.2.8.gem) = b82e9fe90171934f3fb16b44b6f15abc5e2e942b
|
|
RMD160 (activemodel-4.2.8.gem) = c1710dca72f2b11ad1b6b59248c7a46ed160b884
|
|
SHA512 (activemodel-4.2.8.gem) = 8f54234018cc7be166adada5ffd4d134815714f4230586bb8217903e350ed77d5676cf9146b1cef32ec245f6577d5aa2c025991bb9b5ad995e609a1877f3b2ff
|
|
Size (activemodel-4.2.8.gem) = 45568 bytes
|