mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
No need to dup before double-splatting a Hash
This commit is contained in:
parent
cd31e113c0
commit
9e4ff29f74
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module ActiveSupport
|
|||
elsif arguments.last.respond_to?(:to_hash)
|
||||
options = @options.deep_merge(arguments.pop)
|
||||
else
|
||||
options = @options.dup
|
||||
options = @options
|
||||
end
|
||||
|
||||
if options
|
||||
|
|
Loading…
Reference in a new issue