aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2013-03-15 19:28:43 +0100
committerRobin Dupret <robin.dupret@gmail.com>2013-03-15 19:28:43 +0100
commite42d60780df2764301c4417c91512ca94d97c38c (patch)
tree04505faa694b3970fa8d4a353fc3c1d952919076 /activerecord
parentaec466e75294be177f66472fcdbd392831b26fdd (diff)
downloadrails-e42d60780df2764301c4417c91512ca94d97c38c.tar.gz
rails-e42d60780df2764301c4417c91512ca94d97c38c.tar.bz2
rails-e42d60780df2764301c4417c91512ca94d97c38c.zip
Unmatched parenthesis fix
Diffstat (limited to 'activerecord')
-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 e2deb6bfcd..c1f3462bbe 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -39,7 +39,7 @@ module ActiveRecord
# 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)
index_name = options.key?(:name) ? options[:name].to_s : index_name(table_name, :column => column_names)