mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
782 B
782 B
-
Add
action_controller_api
andaction_controller_base
load hooks to be called inActiveSupport.on_load
ActionController::Base
andActionController::API
have differing implementations. This means that the one umbrella hookaction_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
vsActionController::API
Fixes #27013.
Julian Nadeau
-
Add
fetch_values
forHashWithIndifferentAccess
The method was originally added to
Hash
in Ruby 2.3.0.Josh Pencheon
Please check 5-1-stable for previous changes.