diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-31 18:13:56 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-01 02:02:41 -0800 |
commit | 8ae25a8e41168801590fdb95891cc5990b4db21c (patch) | |
tree | de2e639915fa8717dd96d37c6b6997cbf7c6771e /activesupport/CHANGELOG | |
parent | 209235165266ff39f2d14d02b497d7d703788104 (diff) | |
download | rails-8ae25a8e41168801590fdb95891cc5990b4db21c.tar.gz rails-8ae25a8e41168801590fdb95891cc5990b4db21c.tar.bz2 rails-8ae25a8e41168801590fdb95891cc5990b4db21c.zip |
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.
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r-- | activesupport/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG index 787fa26e44..431607f4e0 100644 --- a/activesupport/CHANGELOG +++ b/activesupport/CHANGELOG @@ -1,5 +1,7 @@ *Rails 3.0 (pending)* +* 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. [Jeremy Kemper, Yehuda Katz] + * Time#- with a DateTime argument behaves the same as with a Time argument, i.e. returns the difference between self and arg as a Float #3476 [Geoff Buesing] * YAML serialization for OrderedHash. #3608 [Gregor Schmidt] |