diff options
author | rpq <rpqpro@hotmail.com> | 2011-11-23 23:23:48 -0500 |
---|---|---|
committer | rpq <rpqpro@hotmail.com> | 2011-11-23 23:26:17 -0500 |
commit | 510502ee3abfc8feacdf82868013f2f81676c8ff (patch) | |
tree | fc8a9f9801e891714f5adc0eccff0d21586acb28 /railties/guides | |
parent | ef38c3089e1269e2b315aff503e61c0b23c95f00 (diff) | |
download | rails-510502ee3abfc8feacdf82868013f2f81676c8ff.tar.gz rails-510502ee3abfc8feacdf82868013f2f81676c8ff.tar.bz2 rails-510502ee3abfc8feacdf82868013f2f81676c8ff.zip |
comma
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index ff6c5f967f..da70f9206d 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -571,7 +571,7 @@ NOTE: Defined in +active_support/core_ext/module/attr_accessor_with_default.rb+. h5. Internal Attributes -When you are defining an attribute in a class that is meant to be subclassed name collisions are a risk. That's remarkably important for libraries. +When you are defining an attribute in a class that is meant to be subclassed, name collisions are a risk. That's remarkably important for libraries. Active Support defines the macros +attr_internal_reader+, +attr_internal_writer+, and +attr_internal_accessor+. They behave like their Ruby built-in +attr_*+ counterparts, except they name the underlying instance variable in a way that makes collisions less likely. |