aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2008-08-03 01:32:55 +0200
committerXavier Noria <fxn@hashref.com>2008-08-03 01:32:55 +0200
commit31e226eeeb3d4bd7cc67a0a93450c47bf72072cf (patch)
treee1d7361eb3ba01452739257f4ed6d769eac5038c
parentbd1c02fe4a7907a5e60eb111357ee5a1f8771ada (diff)
downloadrails-31e226eeeb3d4bd7cc67a0a93450c47bf72072cf.tar.gz
rails-31e226eeeb3d4bd7cc67a0a93450c47bf72072cf.tar.bz2
rails-31e226eeeb3d4bd7cc67a0a93450c47bf72072cf.zip
say explicitily that after_* callbacks run within the save/destroy transaction
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 0531afbb52..d1bf26f331 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -64,7 +64,7 @@ module ActiveRecord
#
# Both Base#save and Base#destroy come wrapped in a transaction that ensures that whatever you do in validations or callbacks
# will happen under the protected cover of a transaction. So you can use validations to check for values that the transaction
- # depends on or you can raise exceptions in the callbacks to rollback.
+ # depends on or you can raise exceptions in the callbacks to rollback, including <tt>after_*</tt> callbacks.
#
# == Exception handling and rolling back
#