Permalink
Browse files

Merge pull request #14193 from ys/patch-1

Add missing parantheses in index_exists?
  • Loading branch information...
1 parent c16a8ab commit 000f41ca1250df4cb3f6c9b0ef0be4398a2068fe @vijaydev vijaydev committed with carlosantoniodasilva Feb 25, 2014
@@ -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)

0 comments on commit 000f41c

Please sign in to comment.