Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7591 from bogdan/callbacks-changelog

Changelog entry for PR #7560
  • Loading branch information...
commit 43d312a725dc981700eb931b933fa49b4670a178 2 parents 7b2363f + ca80067
José Valim josevalim authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 activesupport/CHANGELOG.md
19 activesupport/CHANGELOG.md
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.