diff options
author | Jo Liss <joliss42@gmail.com> | 2011-12-27 13:18:34 +0100 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-29 23:39:06 +0530 |
commit | d8a43e26500335d54679aab42bafbce39eb71da5 (patch) | |
tree | b2c41f92ddaba605b7634199d893b22486228c66 /activerecord/test/cases/mass_assignment_security_test.rb | |
parent | bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804 (diff) | |
download | rails-d8a43e26500335d54679aab42bafbce39eb71da5.tar.gz rails-d8a43e26500335d54679aab42bafbce39eb71da5.tar.bz2 rails-d8a43e26500335d54679aab42bafbce39eb71da5.zip |
Document that index names are made up of all columns, not just the first.
index_name has been using the following expression
"index_#{table_name}_on_#{Array.wrap(options[:column]) * '_and_'}"
since at least 2006 (bc7f2315), and that's how they come out in my DB.
Please check that this is correct before merging into master, perhaps
I'm misunderstanding the section I changed.
Diffstat (limited to 'activerecord/test/cases/mass_assignment_security_test.rb')
0 files changed, 0 insertions, 0 deletions