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:
parent
7b2363f06e
commit
ca80067bbe
1 changed files with 19 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue