Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor changes to AR#delete/destroy docs

  • Loading branch information...
commit 7c81a1ea93d95550ffa179fb10a9a777e26b7dc8 1 parent b6f33d6
@lifo lifo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/base.rb
4 activerecord/lib/active_record/base.rb
@@ -764,7 +764,7 @@ def update(id, attributes)
# You can delete multiple rows at once by passing an Array of <tt>id</tt>s.
- # Careful: although it is often much faster than the alternative,
+ # Note: Although it is often much faster than the alternative,
# <tt>#destroy</tt>, skipping callbacks might bypass business logic in
# your application that ensures referential integrity or performs other
# essential jobs.
@@ -859,7 +859,7 @@ def update_all(updates, conditions = nil, options = {})
# reflect that no changes should be made (since they can't be
# persisted).
- # Note: the instantiation, callback execution, and deletion of each
+ # Note: Instantiation, callback execution, and deletion of each
# record can be time consuming when you're removing many records at
# once. It generates at least one SQL +DELETE+ query per record (or
# possibly more, to enforce your callbacks). If you want to delete many
Please sign in to comment.
Something went wrong with that request. Please try again.