Exception: Micro::Cases::Error::TransactionAdapterMissing

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/micro/cases/error.rb

Instance Method Summary collapse

Constructor Details

#initializeTransactionAdapterMissing

Returns a new instance of TransactionAdapterMissing.



12
13
14
15
16
17
# File 'lib/micro/cases/error.rb', line 12

def initialize
  super(
    'transaction: true requires ActiveRecord to be loaded. '\
    "Add `require 'active_record'` (or `gem 'activerecord'` to your Gemfile) before invoking the flow.".freeze
  )
end