diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-04 15:55:36 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-05-04 15:55:57 -0700 |
commit | d5cc7113076ccd82b6e7582ce77fd2062323c87d (patch) | |
tree | ac3121ef7526e7efbcd5ec4eb2346c74d1844aa1 | |
parent | d4838fdcb2b311a01329d9994752894e3d308719 (diff) | |
download | rails-d5cc7113076ccd82b6e7582ce77fd2062323c87d.tar.gz rails-d5cc7113076ccd82b6e7582ce77fd2062323c87d.tar.bz2 rails-d5cc7113076ccd82b6e7582ce77fd2062323c87d.zip |
need to dup the default options so that mutations will not impact us
-rw-r--r-- | actionpack/lib/action_dispatch/request/session.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/request/session.rb b/actionpack/lib/action_dispatch/request/session.rb index 338165935b..4ad7071820 100644 --- a/actionpack/lib/action_dispatch/request/session.rb +++ b/actionpack/lib/action_dispatch/request/session.rb @@ -37,7 +37,7 @@ module ActionDispatch def initialize(by, env, default_options) @by = by @env = env - @delegate = default_options + @delegate = default_options.dup end def [](key) |