aboutsummaryrefslogtreecommitdiffstats
path: root/railties/.gitignore
diff options
context:
space:
mode:
authorLisa Ugray <lisa.ugray@shopify.com>2017-07-11 12:57:16 -0400
committerLisa Ugray <lisa.ugray@shopify.com>2017-07-17 14:37:53 -0400
commita218a35e6602ac5591c95715d3d8fdad34009239 (patch)
tree5758272ac3c2d65737c84b41360e53bc89d932f2 /railties/.gitignore
parente319b01de8d42e1c8dd511d882b988121c81604f (diff)
downloadrails-a218a35e6602ac5591c95715d3d8fdad34009239.tar.gz
rails-a218a35e6602ac5591c95715d3d8fdad34009239.tar.bz2
rails-a218a35e6602ac5591c95715d3d8fdad34009239.zip
Fix HashWithIndifferentAccess#default when include?(nil)
The implementation of HashWithIndifferentAccess#default didn't distinguish `default` from `default(nil)`, which caused an incorrect result for `default` if `nil` was used as a key. Define HashWithIndifferentAccess#dig so that hackery that behaves differently from Hash#default can be removed from HashWithIndifferentAccess#default.
Diffstat (limited to 'railties/.gitignore')
0 files changed, 0 insertions, 0 deletions