diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-03 06:49:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-10-03 06:49:27 +0900 |
commit | 444cf0d6424dcfaef009b9046b23c281791f0e9b (patch) | |
tree | 617ec8b219e57343aaeb611172a0d2c633589884 /railties/test/application/middleware/cache_test.rb | |
parent | a92fa726003880f5d28367459ddaf134c44b1697 (diff) | |
download | rails-444cf0d6424dcfaef009b9046b23c281791f0e9b.tar.gz rails-444cf0d6424dcfaef009b9046b23c281791f0e9b.tar.bz2 rails-444cf0d6424dcfaef009b9046b23c281791f0e9b.zip |
Remove unnecessary `respond_to?(:indexes)` checking
Currently all adapters (postgresql, mysql2, sqlite3, oracle-enhanced,
and sqlserver) implemented `indexes` and schema dumper expects
implemented `indexes`.
https://github.com/rails/rails/blob/v5.0.0/activerecord/lib/active_record/schema_dumper.rb#L208
Therefore `respond_to?(:indexes)` checking is unnecessary.
Diffstat (limited to 'railties/test/application/middleware/cache_test.rb')
0 files changed, 0 insertions, 0 deletions