diff options
author | प्रथमेश Sonpatki <csonpatki@gmail.com> | 2016-09-25 11:12:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-25 11:12:29 +0530 |
commit | a8ee3a0ddce7b4af5e4fb058da250b439d0eaa3e (patch) | |
tree | 8045a8bfa26cf9cb27e9a9e49c3b0051c16d3f1c /activerecord/lib/active_record/persistence.rb | |
parent | f08a2834732eb64f1f5cb2c4c8528b3305ae1054 (diff) | |
parent | 717a771d106921469a6ff287b1a521928abadedc (diff) | |
download | rails-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]
Diffstat (limited to 'activerecord/lib/active_record/persistence.rb')
-rw-r--r-- | activerecord/lib/active_record/persistence.rb | 4 |
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 |