diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-01-10 18:52:59 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-01-10 18:52:59 +0000 |
commit | 7c81a1ea93d95550ffa179fb10a9a777e26b7dc8 (patch) | |
tree | 737a8a89748df24354418b1a71d649668580718c /activerecord/lib | |
parent | b6f33d6bf80c27c7fd9d597cbac00ce7e77805c2 (diff) | |
download | rails-7c81a1ea93d95550ffa179fb10a9a777e26b7dc8.tar.gz rails-7c81a1ea93d95550ffa179fb10a9a777e26b7dc8.tar.bz2 rails-7c81a1ea93d95550ffa179fb10a9a777e26b7dc8.zip |
Minor changes to AR#delete/destroy docs
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index fc8d25f665..4c57897c43 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -764,7 +764,7 @@ module ActiveRecord #:nodoc: # # 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 @@ module ActiveRecord #:nodoc: # 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 |