aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-08-05 01:15:57 +0200
committerXavier Noria <fxn@hashref.com>2010-08-05 01:15:57 +0200
commit3cbe111439b22f11670587e2ec6779533dd77090 (patch)
tree541ec151c0899e21c3bef1c4b7ad9136b42f9b2f /activerecord/lib/active_record/callbacks.rb
parentec736dff7b0a05d58d4c8780863afc47e2bb74a3 (diff)
parentd191db76e04f065e1b0cff3766c818f9b8e2f43a (diff)
downloadrails-3cbe111439b22f11670587e2ec6779533dd77090.tar.gz
rails-3cbe111439b22f11670587e2ec6779533dd77090.tar.bz2
rails-3cbe111439b22f11670587e2ec6779533dd77090.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r--activerecord/lib/active_record/callbacks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index 7f10fbf8b0..aa92bf999f 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -68,8 +68,8 @@ module ActiveRecord
# end
#
# Now, when <tt>Topic#destroy</tt> is run only +destroy_author+ is called. When <tt>Reply#destroy</tt> is
- # run, both +destroy_author+ and +destroy_readers+ are called. Contrast this to the situation where
- # we've implemented the save behavior through overwriteable methods:
+ # run, both +destroy_author+ and +destroy_readers+ are called. Contrast this to the following situation
+ # where the +before_destroy+ methis is overriden:
#
# class Topic < ActiveRecord::Base
# def before_destroy() destroy_author end