aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/sanitization.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-10-03 05:36:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-10-03 05:36:12 +0900
commit30b498036fe35ff9acb698dbc7364e289161113d (patch)
tree2fcfa4146fbdbd66e62697bf7ba05c7b213002bc /activerecord/lib/active_record/sanitization.rb
parenta92fa726003880f5d28367459ddaf134c44b1697 (diff)
downloadrails-30b498036fe35ff9acb698dbc7364e289161113d.tar.gz
rails-30b498036fe35ff9acb698dbc7364e289161113d.tar.bz2
rails-30b498036fe35ff9acb698dbc7364e289161113d.zip
Fix `add_index` to normalize column names and options
Currently does not work the following code. ```ruby add_index(:people, ["last_name", "first_name"], order: { last_name: :desc, first_name: :asc }) ``` Normalize column names and options to fix the issue.
Diffstat (limited to 'activerecord/lib/active_record/sanitization.rb')
0 files changed, 0 insertions, 0 deletions