Module: LazyResque::ControllerEnqueue
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/lazy_resque/controller_enqueue.rb
Overview
A controller concern that appends an after_action to ensure the lazily enqueued Resque enqueues during the request cycle are actually enqueued at the end of the request.
Instance Method Summary collapse
Instance Method Details
#process_lazy_enqueues ⇒ Object
17 18 19 |
# File 'lib/lazy_resque/controller_enqueue.rb', line 17 def process_lazy_enqueues Resque.process_lazy_enqueues end |