aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/middleware_stack_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-10-03 06:49:27 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-10-03 06:49:27 +0900
commit444cf0d6424dcfaef009b9046b23c281791f0e9b (patch)
tree617ec8b219e57343aaeb611172a0d2c633589884 /actionpack/test/dispatch/middleware_stack_test.rb
parenta92fa726003880f5d28367459ddaf134c44b1697 (diff)
downloadrails-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 'actionpack/test/dispatch/middleware_stack_test.rb')
0 files changed, 0 insertions, 0 deletions