Permalink
Browse files

FIX not using _on_create or _on_update callbacks only _create and _up…

…date
  • Loading branch information...
1 parent cb3e6c3 commit 5a6f651a6a093f69f00fa713648213fb86748297 Paco Guzman committed Feb 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/callbacks.rb
@@ -31,7 +31,7 @@ module ActiveRecord
#
# That's a total of twelve callbacks, which gives you immense power to react and prepare for each state in the
# Active Record life cycle. The sequence for calling <tt>Base#save</tt> for an existing record is similar,
- # except that each <tt>_on_create</tt> callback is replaced by the corresponding <tt>_on_update</tt> callback.
+ # except that each <tt>_create</tt> callback is replaced by the corresponding <tt>_update</tt> callback.
#
# Examples:
# class CreditCard < ActiveRecord::Base

0 comments on commit 5a6f651

Please sign in to comment.