1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

@ -37,7 +37,7 @@ module ActionDispatch
def initialize(by, env, default_options) def initialize(by, env, default_options)
@by = by @by = by
@env = env @env = env
@delegate = default_options @delegate = default_options.dup
end end
def [](key) def [](key)