aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-05-03 00:46:18 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2013-05-06 15:16:42 -0400
commit3771e4d51122e1ec22728029bae00f121d5d4e3b (patch)
treee9d684ba94974f8ebb2780c51d1b8178575e9dc4 /README.md
parent32b4abddfa1f01009e0a9eb2a8820715b2fae78a (diff)
downloadrails-3771e4d51122e1ec22728029bae00f121d5d4e3b.tar.gz
rails-3771e4d51122e1ec22728029bae00f121d5d4e3b.tar.bz2
rails-3771e4d51122e1ec22728029bae00f121d5d4e3b.zip
raise IrreversibleMigration if no column given
fixes #10419 Following code should raise IrreversibleMigration. But the code was failing since options is an array and not a hash. def change change_table :users do |t| t.remove_index [:name, :email] end end Fix was to check if the options is a Hash before operating on it.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions