diff options
author | Orhan Toy <toyorhan@gmail.com> | 2016-10-19 19:38:21 +0200 |
---|---|---|
committer | Orhan Toy <toyorhan@gmail.com> | 2016-10-19 19:38:21 +0200 |
commit | 2448fbabf4972a3a86dac4a0c46d28c2113d6609 (patch) | |
tree | 504fbbf6b9051bc01b6c65a9ab9af9baba8f31e2 | |
parent | 125ecfbbff339c25ff81fdb48739e603b66ce406 (diff) | |
download | rails-2448fbabf4972a3a86dac4a0c46d28c2113d6609.tar.gz rails-2448fbabf4972a3a86dac4a0c46d28c2113d6609.tar.bz2 rails-2448fbabf4972a3a86dac4a0c46d28c2113d6609.zip |
Fix indentation of code examples
This commit fixes the generated HTML of the two code examples.
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb index ffde4f2c93..83d1d7cd01 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb @@ -475,7 +475,7 @@ module ActiveRecord # Checks to see if a column exists. # - # t.string(:name) unless t.column_exists?(:name, :string) + # t.string(:name) unless t.column_exists?(:name, :string) # # See {connection.column_exists?}[rdoc-ref:SchemaStatements#column_exists?] def column_exists?(column_name, type = nil, options = {}) @@ -496,9 +496,9 @@ module ActiveRecord # Checks to see if an index exists. # - # unless t.index_exists?(:branch_id) - # t.index(:branch_id) - # end + # unless t.index_exists?(:branch_id) + # t.index(:branch_id) + # end # # See {connection.index_exists?}[rdoc-ref:SchemaStatements#index_exists?] def index_exists?(column_name, options = {}) |