module

ActiveRecord::Transactions

Constants

ACTIONS = [:create, :destroy, :update]

CALLBACK_WARN_MESSAGE = "Currently, Active Record suppresses errors raised " \\\n"within `after_rollback`/`after_commit` callbacks and only print them to " \\\n"the logs. In the next version, these errors will no longer be suppressed. " \\\n"Instead, the errors will propagate normally just like in other Active " \\\n"Record callbacks.\\n" \\\n"\\n" \\\n"You can opt into the new behavior and remove this warning by setting:\\n" \\\n"\\n" \\\n" config.active_record.raise_in_transactional_callbacks = true\\n\\n"

Files

  • activerecord/lib/active_record/transactions.rb

Nested classes and modules