aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/controller_helper.rb
diff options
context:
space:
mode:
authorJosep Jaume Rey <josepjaume@gmail.com>2014-05-12 17:20:51 +0200
committerJosep Jaume Rey <josepjaume@gmail.com>2014-05-13 14:13:36 +0200
commit6caf3ab51b422e08135cbfbdaeedb94b1f6c312c (patch)
tree9462b0d623f0a52cca3316c0bd6c00f126b8e925 /actionview/lib/action_view/helpers/controller_helper.rb
parent711af752342cdd558f5f82d407d0d56a115bb8bc (diff)
downloadrails-6caf3ab51b422e08135cbfbdaeedb94b1f6c312c.tar.gz
rails-6caf3ab51b422e08135cbfbdaeedb94b1f6c312c.tar.bz2
rails-6caf3ab51b422e08135cbfbdaeedb94b1f6c312c.zip
Dup options hash to prevent modifications
`options[:default]` and `options[:raise]` can be mistakenly added to the `options` hash. This can be a problem if you're reusing the same object.
Diffstat (limited to 'actionview/lib/action_view/helpers/controller_helper.rb')
0 files changed, 0 insertions, 0 deletions