Class: HireFire::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- HireFire::Railtie
- Defined in:
- lib/hirefire/railtie.rb
Instance Method Summary collapse
-
#after_initialize ⇒ Object
Initializes HireFire for either Delayed Job or Resque when the Ruby on Rails web framework is done loading.
Instance Method Details
#after_initialize ⇒ Object
Note:
Either the Delayed Job, or the Resque worker library must be loaded BEFORE HireFire initializes, otherwise it’ll be unable to detect the proper library and it will not work.
Initializes HireFire for either Delayed Job or Resque when the Ruby on Rails web framework is done loading
14 15 16 |
# File 'lib/hirefire/railtie.rb', line 14 initializer :after_initialize do HireFire::Initializer.initialize! end |