diff options
author | yui-knk <spiketeika@gmail.com> | 2015-03-21 00:21:35 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-03-21 00:21:35 +0900 |
commit | a7ad06e34ca1726057a6947c817c21ea9a9e7cd8 (patch) | |
tree | 4e41443c95d109aaa770ff7881dfaf81ddd9d32c /activerecord | |
parent | e3efe2bc33a19561fdc972a44618fc86153e3735 (diff) | |
download | rails-a7ad06e34ca1726057a6947c817c21ea9a9e7cd8.tar.gz rails-a7ad06e34ca1726057a6947c817c21ea9a9e7cd8.tar.bz2 rails-a7ad06e34ca1726057a6947c817c21ea9a9e7cd8.zip |
[ci skip] Add <tt> tag to `save!` and `create!`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index cc03e37a12..93550a69f1 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -258,7 +258,7 @@ module ActiveRecord #:nodoc: # <tt>attributes=</tt> method. The +errors+ property of this exception contains an array of # AttributeAssignmentError # objects that should be inspected to determine which attributes triggered the errors. - # * RecordInvalid - raised by save! and create! when the record is invalid. + # * RecordInvalid - raised by <tt>save!</tt> and <tt>create!</tt> when the record is invalid. # * RecordNotFound - No record responded to the +find+ method. Either the row with the given ID doesn't exist # or the row didn't meet the additional restrictions. Some +find+ calls do not raise this exception to signal # nothing was found, please check its documentation for further details. |