From c58dcaf0ce53568c5760d7970155f93cec8ba84d Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 16 Jul 2016 15:14:19 +0530 Subject: Fix documentation of `index` option for the `add_reference` method [ci skip] - Followup of https://github.com/rails/rails/pull/23179. --- .../lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') 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 396cb0b07a..cffd7e8e81 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -790,7 +790,7 @@ module ActiveRecord # [:type] # The reference column type. Defaults to +:integer+. # [:index] - # Add an appropriate index. Defaults to false. + # Add an appropriate index. Defaults to true. # See #add_index for usage of this option. # [:foreign_key] # Add an appropriate foreign key constraint. Defaults to false. -- cgit v1.2.3