Exception: RailsTransactionalOutbox::RecordProcessors::ActiveRecordProcessor::CouldNotFindModelError
- Inherits:
-
StandardError
- Object
- StandardError
- RailsTransactionalOutbox::RecordProcessors::ActiveRecordProcessor::CouldNotFindModelError
- Defined in:
- lib/rails_transactional_outbox/record_processors/active_record_processor.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ CouldNotFindModelError
constructor
A new instance of CouldNotFindModelError.
- #to_s ⇒ Object
Constructor Details
#initialize(record) ⇒ CouldNotFindModelError
Returns a new instance of CouldNotFindModelError.
33 34 35 36 |
# File 'lib/rails_transactional_outbox/record_processors/active_record_processor.rb', line 33 def initialize(record) super() @record = record end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
31 32 33 |
# File 'lib/rails_transactional_outbox/record_processors/active_record_processor.rb', line 31 def record @record end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/rails_transactional_outbox/record_processors/active_record_processor.rb', line 38 def to_s "could not find model for outbox record: #{record.id}" end |