Skip to content

Commit

Permalink
dup the hash
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonborg committed Aug 8, 2017
1 parent 298a1ed commit 9b0c94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/allowable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
allow_filters[n] = n + 1
end

forbid_filters = hash
forbid_filters = hash.dup

params = ActionController::Parameters.new(hash)

Expand Down

0 comments on commit 9b0c94d

Please sign in to comment.