aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorप्रथमेश Sonpatki <csonpatki@gmail.com>2016-09-25 11:12:29 +0530
committerGitHub <noreply@github.com>2016-09-25 11:12:29 +0530
commita8ee3a0ddce7b4af5e4fb058da250b439d0eaa3e (patch)
tree8045a8bfa26cf9cb27e9a9e49c3b0051c16d3f1c
parentf08a2834732eb64f1f5cb2c4c8528b3305ae1054 (diff)
parent717a771d106921469a6ff287b1a521928abadedc (diff)
downloadrails-a8ee3a0ddce7b4af5e4fb058da250b439d0eaa3e.tar.gz
rails-a8ee3a0ddce7b4af5e4fb058da250b439d0eaa3e.tar.bz2
rails-a8ee3a0ddce7b4af5e4fb058da250b439d0eaa3e.zip
Merge pull request #26613 from adamcrown/save-validate-rdoc-formatting
Fix code formatting in `#save` RDoc [ci skip]
-rw-r--r--activerecord/lib/active_record/persistence.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index 65248f3a32..6933f3f9b8 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -107,7 +107,7 @@ module ActiveRecord
#
# By default, save always runs validations. If any of them fail the action
# is cancelled and #save returns +false+, and the record won't be saved. However, if you supply
- # validate: false, validations are bypassed altogether. See
+ # <tt>validate: false</tt>, validations are bypassed altogether. See
# ActiveRecord::Validations for more information.
#
# By default, #save also sets the +updated_at+/+updated_on+ attributes to
@@ -134,7 +134,7 @@ module ActiveRecord
#
# By default, #save! always runs validations. If any of them fail
# ActiveRecord::RecordInvalid gets raised, and the record won't be saved. However, if you supply
- # validate: false, validations are bypassed altogether. See
+ # <tt>validate: false</tt>, validations are bypassed altogether. See
# ActiveRecord::Validations for more information.
#
# By default, #save! also sets the +updated_at+/+updated_on+ attributes to