提交 ca80067b 编写于 作者: B Bogdan Gusiev

Changelog entry for PR #7560

上级 7b2363f0
## Rails 4.0.0 (unreleased) ## ## 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* * `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. * `ActiveSupport::Callbacks`: deprecate monkey patch of object callbacks.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册