Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add missing parantheses in index_exists?

  • Loading branch information...
commit be37b0c143da6dc682fd53eab744e0c1115063d1 1 parent 06f815e
Yannick Schutz ys authored
2  activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
View
@@ -40,7 +40,7 @@ def table_exists?(table_name)
# index_exists?(:suppliers, :company_id, unique: true)
#
# # Check an index with a custom name exists
- # index_exists?(:suppliers, :company_id, name: "idx_company_id"
+ # index_exists?(:suppliers, :company_id, name: "idx_company_id")
#
def index_exists?(table_name, column_name, options = {})
column_names = Array(column_name)
Please sign in to comment.
Something went wrong with that request. Please try again.