lib/active_model/callbacks.rb in activemodel-7.1.5 vs lib/active_model/callbacks.rb in activemodel-7.2.0.beta1
- old
+ new
@@ -58,10 +58,10 @@
# define_model_callbacks :create, only: [:after, :before]
#
# Would only create the +after_create+ and +before_create+ callback methods in
# your class.
#
- # NOTE: Calling the same callback multiple times will overwrite previous callback definitions.
+ # NOTE: Defining the same callback multiple times will overwrite previous callback definitions.
#
module Callbacks
def self.extended(base) # :nodoc:
base.class_eval do
include ActiveSupport::Callbacks