lib/active_model/callbacks.rb in activemodel-7.0.4.3 vs lib/active_model/callbacks.rb in activemodel-7.0.5

- old
+ new

@@ -72,10 +72,10 @@ # define_model_callbacks accepts the same options +define_callbacks+ does, # in case you want to overwrite a default. Besides that, it also accepts an # <tt>:only</tt> option, where you can choose if you want all types (before, # around or after) or just some. # - # define_model_callbacks :initializer, only: :after + # define_model_callbacks :initialize, only: :after # # Note, the <tt>only: <type></tt> hash will apply to all callbacks defined # on that method call. To get around this you can call the define_model_callbacks # method as many times as you need. #