Module: ActiveRecordCompose::TransactionSupport

Extended by:
ActiveSupport::Concern
Includes:
ActiveRecord::Transactions
Included in:
Model
Defined in:
lib/active_record_compose/transaction_support.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#idObject



28
# File 'lib/active_record_compose/transaction_support.rb', line 28

def id = nil

#restore_transaction_record_state(_force_restore_state = false) ⇒ Object

rubocop:disable Style/OptionalBooleanParameter



31
# File 'lib/active_record_compose/transaction_support.rb', line 31

def restore_transaction_record_state(_force_restore_state = false) = nil # rubocop:disable Style/OptionalBooleanParameter

#trigger_transactional_callbacks?Boolean

Returns:

  • (Boolean)


30
# File 'lib/active_record_compose/transaction_support.rb', line 30

def trigger_transactional_callbacks? = true