Method: ActiveRecord::Transactions::ClassMethods#after_update_commit

Defined in:
activerecord/lib/active_record/transactions.rb

#after_update_commit(*args, &block) ⇒ Object

Shortcut for after_commit :hook, on: :update.



250
251
252
253
# File 'activerecord/lib/active_record/transactions.rb', line 250

def after_update_commit(*args, &block)
  set_options_for_callbacks!(args, on: :update, **prepend_option)
  set_callback(:commit, :after, *args, &block)
end