ruby on rails - Uninitialized Constant ConfirmationEmailWorker::Sidekiq -


I have an issue launching a sidekax with the CDI. The current error is:

  `'Undefined Continuous Confirmation Email Mail: :: Sidekick / Users / Black ExtraLitch / Desktop / Project / Application / Workers / Confirmation_mail_worker. RBA Free: & lt; Category: Confirmation Email Notifier & gt; ' / Users / blackfreelich / desktop / project / app / workers / confirmation_mail_worker. Rbi:   

My config / application.rb looks like the following, as I was reading curious_loading, that could be the automobile being loaded (though It seems to be repeated because everything in the train is loaded ap / )

  file.expand_path ('../boot', __FILE__) is required # You want to select frameworks: "active_record / railtie" is required "action_controller / raillet" required "action_mailer / raillet" "sprockets / railtie" is required "#" rail / test_enuite / Need "# Gems listed in # Gemfile, including any gemstone are required, # You are limited: test, development, or production: Bundler.require (Default, Rails.env) module app classroom application & lt ; Rails :: App # settings preceded by those specified in config / environment / *. # Application configuration should go to files in config / initializers # - Load all .rb files automatically into that directory Requires expertise is. Console 'pry' config.console = Pry end config.generators do | g | G.stylesheets false g.migration false g.javascripts wrong g.test_framework: rspec, stability: incorrect g.template_engine false end config.autoload_paths + =% W (# {config.root} / app / workers) config.eager_load_paths + = % W (# {config.root} / app / workers) config.before_configuration env_file = file. Include (Rails.root, 'config', 'mailer.yml') YAML.load (File.open (env_file)). Do each. Key, value | ENV [key.to_s] = Value end if file. Axis? (Env_file) End # Scheduled time in specified area. Auto-convert active zone records and active in this field. # Run "rake-d time" for a list of tasks to find the time zone names. The default UTC is # config.time_zone = 'Central Time (US and Canada)' # Default Location: N and Config / Locale / *. All translations from RB, Wii are auto loaded. I # Config.i18n.load_path + = Dir [Rails.root.join ('my', 'locales', * * .rb, yml}') To_s] # config.i18n.default_locale =: End of End   

In the App / Workers folder I have the following file confirmation_email_worker.rb

  Class Confirmation Email Contractor SideKiq :: Worker operates the DRF Dairy Mailer. order_confirmation.deliver end end   

It was great on this one ... so any guidance is welcome! Thanks

sideside is a word, lowercase.

Remove capital letters.

  contains the Sidekick :: Worker    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -