diff options
author | Josep Jaume Rey <josepjaume@gmail.com> | 2014-05-12 17:20:51 +0200 |
---|---|---|
committer | Josep Jaume Rey <josepjaume@gmail.com> | 2014-05-13 14:13:36 +0200 |
commit | 6caf3ab51b422e08135cbfbdaeedb94b1f6c312c (patch) | |
tree | 9462b0d623f0a52cca3316c0bd6c00f126b8e925 /activerecord/test/fixtures | |
parent | 711af752342cdd558f5f82d407d0d56a115bb8bc (diff) | |
download | rails-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 'activerecord/test/fixtures')
0 files changed, 0 insertions, 0 deletions