RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ibarria0
Hello,
I had some trouble getting custom jobs to work. Requiring the job.rb file was not enough, I had to configure autoload paths.
Placing my jobs in #{root}/jobs and setting this in application.rb did the trick!
config.autoload_paths += %W(#{config.root}/jobs)
Hello,
I had some trouble getting custom jobs to work.
Requiring the job.rb file was not enough, I had to configure autoload paths.
Placing my jobs in #{root}/jobs and setting this in application.rb did the trick!