Class: HireFire::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/hirefire/railtie.rb

Instance Method Summary collapse

Instance Method Details

#after_initializeObject

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