Class: Plumbing::Actor::Rails
- Defined in:
- lib/plumbing/actor/rails.rb
Overview
Rails-safe variant of the threaded worker: wraps each delivery in the Rails executor, so ActiveRecord connections and code reloading are managed correctly per message. Requires a booted Rails app at runtime.
Method Summary
Methods inherited from Threaded
#active?, #after, #call, #dispatch, #message_class, #stop
Methods inherited from Worker
#active?, #after, #build_message, #call, #cancel_deferred, #dispatch, #message_class, #post, #stop