diff options
author | Trent Ogren <tedwardo2@gmail.com> | 2013-12-11 15:29:33 -0600 |
---|---|---|
committer | Trent Ogren <tedwardo2@gmail.com> | 2013-12-11 15:29:33 -0600 |
commit | d0fc760d093c377e4bd697121af9bc4b047ae04c (patch) | |
tree | 46d74c1db11209116df671e78314fd5a9da6c9e8 /activesupport/lib/active_support/notifications/instrumenter.rb | |
parent | 5853c64a4ba77134b7a4ff942b7ae711cb7bcc46 (diff) | |
download | rails-d0fc760d093c377e4bd697121af9bc4b047ae04c.tar.gz rails-d0fc760d093c377e4bd697121af9bc4b047ae04c.tar.bz2 rails-d0fc760d093c377e4bd697121af9bc4b047ae04c.zip |
Make ActionDispatch::Request::Session#fetch behave like Hash#fetch
Session#fetch was mutating the session when given a default argument
and/or a block. Since Session duck-types as a Hash, it should behave
like one in these cases.
Diffstat (limited to 'activesupport/lib/active_support/notifications/instrumenter.rb')
0 files changed, 0 insertions, 0 deletions