aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorBen Orenstein <ben.orenstein@gmail.com>2011-02-26 13:28:40 -0500
committerXavier Noria <fxn@hashref.com>2011-03-05 11:56:31 +0100
commit8f526b30f49b8441dc80f00a42a58fc4ab61011a (patch)
treeec1e1194c927fc38218d4731693c2b70d50f69f1 /railties/guides/source
parent4c27ad0c23d8d8889221d5234496b39f1cc9bdb8 (diff)
downloadrails-8f526b30f49b8441dc80f00a42a58fc4ab61011a.tar.gz
rails-8f526b30f49b8441dc80f00a42a58fc4ab61011a.tar.bz2
rails-8f526b30f49b8441dc80f00a42a58fc4ab61011a.zip
Warn people that these methods are deprecated.
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
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 e0b1bf6e83..8090d16fea 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -1045,6 +1045,8 @@ NOTE: Defined in +active_support/core_ext/class/attribute_accessors.rb+.
h4. Class Inheritable Attributes
+WARNING: Class Inheritable Attributes are deprecated. It's recommended that you use +Class#class_attribute+ instead.
+
Class variables are shared down the inheritance tree. Class instance variables are not shared, but they are not inherited either. The macros +class_inheritable_reader+, +class_inheritable_writer+, and +class_inheritable_accessor+ provide accessors for class-level data which is inherited but not shared with children:
<ruby>