aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-30 14:26:19 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-06-30 14:26:19 -0500
commit9b45f0fb712ec1b649b8d482f9552a41ed5e19e2 (patch)
tree28474ddf618edf2ff30486188e9e47769ef59b56 /activerecord
parent6727e3c9e7eca006e5221739dc72694d2c1e024d (diff)
downloadrails-9b45f0fb712ec1b649b8d482f9552a41ed5e19e2.tar.gz
rails-9b45f0fb712ec1b649b8d482f9552a41ed5e19e2.tar.bz2
rails-9b45f0fb712ec1b649b8d482f9552a41ed5e19e2.zip
fix AR::SchemaStatements#column_exists? example [ci skip]
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 50da373c6a..2f796861a8 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -65,7 +65,7 @@ module ActiveRecord
#
# # Check a column exists with a specific definition
# column_exists?(:suppliers, :name, :string, limit: 100)
- # column_exists?(:suppliers, :name, :string, default: 'default'
+ # column_exists?(:suppliers, :name, :string, default: 'default')
# column_exists?(:suppliers, :name, :string, null: false)
# column_exists?(:suppliers, :tax, :decimal, precision: 8, scale: 2)
def column_exists?(table_name, column_name, type = nil, options = {})