aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-09-15 13:51:54 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-10-23 12:50:47 -0400
commitd6b779ecebe57f6629352c34bfd6c442ac8fba0e (patch)
tree16d6ea38fde5b858a63c88273da2c15e54962e11 /activerecord/lib/active_record/connection_adapters/abstract
parent7df6e3f3cbdea9a0460ddbab445c81fbb1cfd012 (diff)
downloadrails-d6b779ecebe57f6629352c34bfd6c442ac8fba0e.tar.gz
rails-d6b779ecebe57f6629352c34bfd6c442ac8fba0e.tar.bz2
rails-d6b779ecebe57f6629352c34bfd6c442ac8fba0e.zip
Remove deprecated argument `name` from `#indexes`
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index 1970cf5de0..6698047ad6 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -79,7 +79,7 @@ module ActiveRecord
end
# Returns an array of indexes for the given table.
- def indexes(table_name, name = nil)
+ def indexes(table_name)
raise NotImplementedError, "#indexes is not implemented"
end