aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-05-04 15:55:36 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-05-04 15:55:57 -0700
commitd5cc7113076ccd82b6e7582ce77fd2062323c87d (patch)
treeac3121ef7526e7efbcd5ec4eb2346c74d1844aa1
parentd4838fdcb2b311a01329d9994752894e3d308719 (diff)
downloadrails-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.rb2
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)