diff options
author | Julian Nadeau <julian@jnadeau.ca> | 2017-03-13 17:37:22 -0400 |
---|---|---|
committer | Julian Nadeau <julian@jnadeau.ca> | 2017-04-10 19:34:48 -0400 |
commit | 35fac87123df4fdf7cc26b7ccd724932d946be87 (patch) | |
tree | 0004150c8bb65898c19e02afe36403ad82f4c5ee /activesupport | |
parent | c134a17b3d740ab1578cdd8da8aba3909910feb2 (diff) | |
download | rails-35fac87123df4fdf7cc26b7ccd724932d946be87.tar.gz rails-35fac87123df4fdf7cc26b7ccd724932d946be87.tar.bz2 rails-35fac87123df4fdf7cc26b7ccd724932d946be87.zip |
Add action_controller_api, action_controller_base on_load hook
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/CHANGELOG.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 1adc473e1d..17677d057b 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,7 +1,19 @@ +* Add `action_controller_api` and `action_controller_base` load hooks to be called in `ActiveSupport.on_load` + + `ActionController::Base` and `ActionController::API` have differing implementations. This means that + the one umbrella hook `action_controller` is not able to address certain situations where a method + may not exist in a certain implementation. + + This is fixed by adding two new hooks so you can target `ActionController::Base` vs `ActionController::API` + + Fixes #27013. + + *Julian Nadeau* + * Add `fetch_values` for `HashWithIndifferentAccess` The method was originally added to `Hash` in Ruby 2.3.0. *Josh Pencheon* -Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activesupport/CHANGELOG.md) for previous changes. +Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activesupport/CHANGELOG.md) for previous changes.
\ No newline at end of file |