diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb index 40197955cb..b086957656 100644 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -21,8 +21,8 @@ module ActiveRecord # * (6) after_save # * (7) after_commit # - # Check out ActiveRecord::Transactions for more details about after_commit and # Also, an after_rollback callback can be configured to be triggered whenever a rollback is issued. + # Check out ActiveRecord::Transactions for more details about after_commit and # after_rollback. # # Additionally, an after_touch callback is triggered whenever an @@ -83,7 +83,7 @@ module ActiveRecord # # == Types of callbacks # - # There are four types of callbacks accepted by the callback macros: method references (symbol), callback objects, + # There are three types of callbacks accepted by the callback macros: method references (symbol), callback objects, # inline methods (using a proc). Method references and callback objects are the recommended approaches, # inline methods using a proc are sometimes appropriate (such as for creating mix-ins). #