diff options
author | Jo Liss <joliss42@gmail.com> | 2011-12-27 13:18:34 +0100 |
---|---|---|
committer | Jo Liss <joliss42@gmail.com> | 2011-12-27 13:18:34 +0100 |
commit | dd72235225977790cb765818734e3b6adfdd4b3d (patch) | |
tree | 1ba0983b28e37e6a96a2201a7cf078d69ec4cb59 /activerecord/lib/active_record/scoping.rb | |
parent | acab767c9d042031320b1ed7a7e2faa653ab1bb9 (diff) | |
download | rails-dd72235225977790cb765818734e3b6adfdd4b3d.tar.gz rails-dd72235225977790cb765818734e3b6adfdd4b3d.tar.bz2 rails-dd72235225977790cb765818734e3b6adfdd4b3d.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/lib/active_record/scoping.rb')
0 files changed, 0 insertions, 0 deletions