mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3771e4d511
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. |
||
---|---|---|
.. | ||
active_record/connection_adapters | ||
assets | ||
cases | ||
fixtures | ||
migrations | ||
models | ||
schema | ||
support | ||
.gitignore | ||
config.example.yml | ||
config.rb |