diff options
author | Ben Orenstein <ben.orenstein@gmail.com> | 2011-02-26 13:28:40 -0500 |
---|---|---|
committer | Ben Orenstein <ben.orenstein@gmail.com> | 2011-02-26 13:28:40 -0500 |
commit | e331ec0952bb199345d2f77a089abf9cd4f44240 (patch) | |
tree | 2f32a3f3b0af36747c384e5d78e1e016f210ec86 | |
parent | 8270dcd12e2892147002b23e80e3a25ab45a1e25 (diff) | |
download | rails-e331ec0952bb199345d2f77a089abf9cd4f44240.tar.gz rails-e331ec0952bb199345d2f77a089abf9cd4f44240.tar.bz2 rails-e331ec0952bb199345d2f77a089abf9cd4f44240.zip |
Warn people that these methods are deprecated.
-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 788c243d2a..4074eac7e7 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> |