aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/bulb.rb
diff options
context:
space:
mode:
authorJo Liss <joliss42@gmail.com>2011-12-27 13:18:34 +0100
committerVijay Dev <vijaydev.cse@gmail.com>2011-12-29 23:39:06 +0530
commitd8a43e26500335d54679aab42bafbce39eb71da5 (patch)
treeb2c41f92ddaba605b7634199d893b22486228c66 /activerecord/test/models/bulb.rb
parentbea4f9aa3f8f2e2c4fd1502f013a08318fdc0804 (diff)
downloadrails-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/models/bulb.rb')
0 files changed, 0 insertions, 0 deletions