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

This commit is contained in:
Aaron Patterson 2012-05-04 15:55:36 -07:00
parent d4838fdcb2
commit d5cc711307
1 changed files with 1 additions and 1 deletions

View File

@ -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)