From d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sat, 30 Mar 2013 13:56:03 -0300 Subject: Use new hash style in doc examples [ci skip] --- .../active_record/connection_adapters/abstract/schema_statements.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 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 aebcc2d874..c03081d7fd 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -499,7 +499,7 @@ module ActiveRecord # # ====== Creating an index with a specific method # - # add_index(:developers, :name, :using => 'btree') + # add_index(:developers, :name, using: 'btree') # # generates # @@ -510,7 +510,7 @@ module ActiveRecord # # ====== Creating an index with a specific type # - # add_index(:developers, :name, :type => :fulltext) + # add_index(:developers, :name, type: :fulltext) # # generates # -- cgit v1.2.3