This project is archived and is in readonly mode.
Changeset [8ae25a8e41168801590fdb95891cc5990b4db21c] by Jeremy Kemper
Revision 8ae25a8e41168801590fdb95891cc5990b4db21c,
committed by Jeremy Kemper
· February 1st, 2010 @ 10:02 AM
Introduce class_attribute to declare inheritable class
attributes. Writing an attribute on a subclass behaves just like
overriding the superclass reader method. Unifies and replaces most
usage of cattr_accessor, class_inheritable_attribute,
superclass_delegating_attribute, and
extlib_inheritable_attribute.
http://github.com/rails/rails/commit/8ae25a8e41168801590fdb95891cc5...
3 changed files
-
A
activesupport/lib/active_support/core_ext/class/attribute.rb -
A
activesupport/test/core_ext/class/attribute_test.rb -
M
activesupport/CHANGELOG