aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_support_core_extensions.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-11-26 19:14:39 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-11-26 19:14:39 +0530
commit1d8954068655580548e8e1cb283a8499988afb1d (patch)
tree2694ef0ad4ecf0297f6f72d4af84c90acb0494f9 /railties/guides/source/active_support_core_extensions.textile
parentb6916e0b925d4c8b4487d574fe07b11440f2ec5e (diff)
parent5c2a2ee76e2af591a997b71eec0e35143c07f9e1 (diff)
downloadrails-1d8954068655580548e8e1cb283a8499988afb1d.tar.gz
rails-1d8954068655580548e8e1cb283a8499988afb1d.tar.bz2
rails-1d8954068655580548e8e1cb283a8499988afb1d.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/active_support_core_extensions.textile')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
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 09f931050d..d601e9ea29 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.