Exception: ActiveOutbox::OutboxClassNotFoundError
- Inherits:
-
OutboxConfigurationError
- Object
- StandardError
- OutboxConfigurationError
- ActiveOutbox::OutboxClassNotFoundError
- Defined in:
- lib/active_outbox/errors.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/active_outbox/errors.rb', line 7 def <<~MESSAGE Missing Outbox class definition. Configure mapping in `config/initializers/active_outbox.rb`: Rails.application.reloader.to_prepare do ActiveOutbox.configure do |config| config.outbox_mapping = { 'default' => <outbox model name> } end end MESSAGE end |