rsim/oracle-enhanced — pull request #269 by yahonda (2012-12-31 22:38:49+00:00)
Title: Clear index cache when remove_column executed

This pull request addresses a failure since https://github.com/rails/rails/commit/d1f21552939c07cf7f12b9674793bb14c81eb912 has been merged to rails master branch.

Sometimes, remove_column drops indexed column, then this index dropped implicitly.

```ruby
$ ARCONN=oracle ruby -Itest test/cases/migration/rename_column_test.rb -n test_remove_column_with_index
Using oracle
Run options: -n test_remove_column_with_index --seed 25497

# Running tests:

F

Finished tests in 2.084763s, 0.4797 tests/s, 0.9593 assertions/s.

1) Failure:
test_remove_column_with_index(ActiveRecord::Migration::RenameColumnTest) [test/cases/migration/rename_column_test.rb:99]:
Expected: 0
Actual: 1

1 tests, 2 assertions, 1 failures, 0 errors, 0 skips
$
```