aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
diff options
context:
space:
mode:
authoramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-27 14:58:26 +0530
committeramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-27 15:23:35 +0530
commitff8d9c7e4373f4f66c61f8a9514e892c0b25d368 (patch)
treec9ee77b917d73e777743ce6edf2f078e4132cec1 /activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
parent210f33c477e950ad44e66b47da794469ce3b5e64 (diff)
downloadrails-ff8d9c7e4373f4f66c61f8a9514e892c0b25d368.tar.gz
rails-ff8d9c7e4373f4f66c61f8a9514e892c0b25d368.tar.bz2
rails-ff8d9c7e4373f4f66c61f8a9514e892c0b25d368.zip
Fix proper fonts in `change_column_null` method docs. [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb4
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 285b4065b1..7e53f8958a 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -507,7 +507,7 @@ module ActiveRecord
raise NotImplementedError, "change_column_default is not implemented"
end
- # Sets or removes a +NOT NULL+ constraint on a column. The +null+ flag
+ # Sets or removes a <tt>NOT NULL</tt> constraint on a column. The +null+ flag
# indicates whether the value can be +NULL+. For example
#
# change_column_null(:users, :nickname, false)
@@ -519,7 +519,7 @@ module ActiveRecord
# allows them to be +NULL+ (drops the constraint).
#
# The method accepts an optional fourth argument to replace existing
- # +NULL+s with some other value. Use that one when enabling the
+ # <tt>NULL</tt>s with some other value. Use that one when enabling the
# constraint if needed, since otherwise those rows would not be valid.
#
# Please note the fourth argument does not set a column's default.