Module: ActiveRecord::Transactions::ClassMethods

Defined in:
lib/paranoia.rb

Instance Method Summary collapse

Instance Method Details

#after_restore_commit(*args, &block) ⇒ Object



289
290
291
292
# File 'lib/paranoia.rb', line 289

def after_restore_commit(*args, &block)
  set_options_for_callbacks!(args, on: :restore)
  set_callback(:commit, :after, *args, &block)
end