diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 13:56:03 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 14:04:05 -0300 |
commit | d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4 (patch) | |
tree | acb5468456e5495a865fbf159bd185464f000a92 | |
parent | ec55f37027defae03059b46373f56954dd607014 (diff) | |
download | rails-d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4.tar.gz rails-d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4.tar.bz2 rails-d9ac2afc8fc49c2d8b0cf2ddbea374ffbb48c0f4.zip |
Use new hash style in doc examples [ci skip]
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 4 |
1 files 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 # |