diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2013-06-30 16:45:32 +0300 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2013-12-02 23:57:20 +0200 |
commit | 7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d (patch) | |
tree | 576c89e85c523b18fad887dcb3d329eaee97e2bf /activesupport/CHANGELOG.md | |
parent | 152edcc16b3f4da967fb7765d4abff5bc93c3626 (diff) | |
download | rails-7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d.tar.gz rails-7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d.tar.bz2 rails-7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d.zip |
Unify cattr and mattr accessors declarations
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 9c7078b9a4..eec290ea79 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,10 @@ +* Both `cattr_*` and `mattr_*` method definitions now live in `active_support/core_ext/module/attribute_accessors`. + + Requires to `active_support/core_ext/class/attribute_accessors` are + deprecated and will be removed in Ruby on Rails 4.2. + + *Genadi Samokovarov* + * Deprecated `Numeric#{ago,until,since,from_now}`, the user is expected to explicitly convert the value into an AS::Duration, i.e. `5.ago` => `5.seconds.ago` |