diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2012-09-10 21:38:12 +0300 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2012-09-10 21:38:12 +0300 |
commit | ca80067bbe4662c60b933188ad3769605742e812 (patch) | |
tree | 2164b7de6dff5fd4f21d27bc810793feaf008d59 /activesupport | |
parent | 7b2363f06e0c87f25bf04705a4457b5d16d53423 (diff) | |
download | rails-ca80067bbe4662c60b933188ad3769605742e812.tar.gz rails-ca80067bbe4662c60b933188ad3769605742e812.tar.bz2 rails-ca80067bbe4662c60b933188ad3769605742e812.zip |
Changelog entry for PR #7560
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 3914f4dc4c..203fb1bd86 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,5 +1,24 @@ ## Rails 4.0.0 (unreleased) ## +* Deprecate on the fly monkey patch of objects in AS::Callbacks. + This one is probably related to before_filters: + + before_filter MyFilter.new + + class MyFilter + def filter(controller) + end + end + + is now deprecated. Use: + + before_filter MyFilter.new + + class MyFilter + def before(controller) + end + end + * `ERB::Util.html_escape` encodes single quote as `#39`. Decimal form has better support in old browsers. *Kalys Osmonov* * `ActiveSupport::Callbacks`: deprecate monkey patch of object callbacks. |