diff options
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 11f0bc956f..8a65296976 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -1057,6 +1057,8 @@ module ActiveRecord end </ruby> +A model may find that option useful as a way to prevent mass-assignment from setting the attribute. + NOTE: Defined in +active_support/core_ext/class/attribute_accessors.rb+. h4. Class Inheritable Attributes |