1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Changelog entry for PR #7560

This commit is contained in:
Bogdan Gusiev 2012-09-10 21:38:12 +03:00
parent 7b2363f06e
commit ca80067bbe

View file

@ -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.