Permalink
Browse files

AS guide: documents a use case for :instance_writer, based on a remar…

…k of Jeremy
  • Loading branch information...
1 parent ac202a2 commit f53fddf3665e6582768f4ab0c82b286b39e7fb19 @fxn fxn committed Mar 15, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit f53fddf

Please sign in to comment.