aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio B. <claudiob@users.noreply.github.com>2015-09-14 01:12:58 -0700
committerClaudio B. <claudiob@users.noreply.github.com>2015-09-14 01:12:58 -0700
commit89e61f0133f09b2bfa0f020039f6e92f3c21160e (patch)
treeaa548ac1555f388e944726a6c1201a906afc59af
parent174a57e1cb4dbd9ef60b136d2c2d380085691956 (diff)
parente463f6cc00706031f70bdcc410c036e0dee725a7 (diff)
downloadrails-89e61f0133f09b2bfa0f020039f6e92f3c21160e.tar.gz
rails-89e61f0133f09b2bfa0f020039f6e92f3c21160e.tar.bz2
rails-89e61f0133f09b2bfa0f020039f6e92f3c21160e.zip
Merge pull request #21619 from kamipo/fix_doc_of_text_limit
Fix doc of limit option for a text column [ci skip]
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb4
1 files changed, 2 insertions, 2 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 3115e03ea2..2c76dd1518 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
@@ -236,8 +236,8 @@ module ActiveRecord
#
# Available options are (none of these exists by default):
# * <tt>:limit</tt> -
- # Requests a maximum column length. This is number of characters for <tt>:string</tt> and
- # <tt>:text</tt> columns and number of bytes for <tt>:binary</tt> and <tt>:integer</tt> columns.
+ # Requests a maximum column length. This is number of characters for a <tt>:string</tt> column
+ # and number of bytes for <tt>:text</tt>, <tt>:binary</tt> and <tt>:integer</tt> columns.
# * <tt>:default</tt> -
# The column's default value. Use nil for NULL.
# * <tt>:null</tt> -