9d2a7f89ee
Introduced in https://github.com/rails/rails/pull/49042, the method `ActionController::Parameters#extract_value` promises to replace utility methods that were previously defined as private methods in controllers. However, it currently throws a `NoMethodError` when passed a non-existent key. `params` is dependent on client requests and is thus beyond the application's control. Rather than throwing a `NoMethodError`, it would be more convenient for the method to return `nil`. |
||
---|---|---|
.. | ||
abstract | ||
assertions | ||
controller | ||
dispatch | ||
fixtures | ||
journey | ||
lib | ||
routing | ||
support | ||
abstract_unit.rb |