Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Warn people that these methods are deprecated.

  • Loading branch information...
commit e331ec0952bb199345d2f77a089abf9cd4f44240 1 parent 8270dcd
@r00k r00k authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  railties/guides/source/active_support_core_extensions.textile
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.