Permalink
Browse files

need to dup the default options so that mutations will not impact us

  • Loading branch information...
1 parent d4838fd commit d5cc7113076ccd82b6e7582ce77fd2062323c87d @tenderlove tenderlove committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/request/session.rb
@@ -37,7 +37,7 @@ def self.find(env)
def initialize(by, env, default_options)
@by = by
@env = env
- @delegate = default_options
+ @delegate = default_options.dup
end
def [](key)

0 comments on commit d5cc711

Please sign in to comment.