workless
workless copied to clipboard
undefined method `self.class.scaler.up' for #<Delayed::Backend::ActiveRecord::Job
Transferred from: https://github.com/davidakachaos/workless_revived/issues/10
I just updated from workless to workless_revived, but I get this error:
2017-06-20T12:39:11.016683+00:00 app[web.1]: App 138 stdout: D, [2017-06-20T12:39:11.016480 #138] DEBUG -- : Exception Message: undefined method `self.class.scaler.up' for #<Delayed::Backend::ActiveRecord::Job:0x007f51ca236478>
2017-06-20T12:39:11.016719+00:00 app[web.1]: App 138 stdout:
2017-06-20T12:39:11.016791+00:00 app[web.1]: App 138 stdout: D, [2017-06-20T12:39:11.016563 #138] DEBUG -- : Exception Class: NoMethodError
2017-06-20T12:39:11.016805+00:00 app[web.1]: App 138 stdout:
2017-06-20T12:39:11.016914+00:00 app[web.1]: App 138 stdout: D, [2017-06-20T12:39:11.016782 #138] DEBUG -- : Exception Backtrace:
2017-06-20T12:39:11.016930+00:00 app[web.1]: App 138 stdout:
2017-06-20T12:39:11.017114+00:00 app[web.1]: App 138 stdout: D, [2017-06-20T12:39:11.016932 #138] DEBUG -- : /app/vendor/bundle/ruby/2.2.0/gems/activemodel-4.2.5.1/lib/active_model/attribute_methods.rb:433:in `method_missing'
2017-06-20T12:39:11.017185+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
2017-06-20T12:39:11.017296+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:253:in `call'
2017-06-20T12:39:11.017390+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:253:in `block in conditional'
2017-06-20T12:39:11.017404+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:506:in `call'
2017-06-20T12:39:11.017417+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:506:in `block in call'
2017-06-20T12:39:11.017431+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:506:in `each'
2017-06-20T12:39:11.017444+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:506:in `call'
2017-06-20T12:39:11.017461+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2017-06-20T12:39:11.017475+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_commit_callbacks'
2017-06-20T12:39:11.017489+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:314:in `committed!'
2017-06-20T12:39:11.017536+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:89:in `commit_records'
2017-06-20T12:39:11.017560+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:153:in `commit'
2017-06-20T12:39:11.017652+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
2017-06-20T12:39:11.017677+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
2017-06-20T12:39:11.017691+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
2017-06-20T12:39:11.017724+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction'
2017-06-20T12:39:11.017738+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
2017-06-20T12:39:11.017752+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:286:in `block in save'
2017-06-20T12:39:11.017765+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
2017-06-20T12:39:11.017794+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:285:in `save'
2017-06-20T12:39:11.017808+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/backend/base.rb:35:in `block (2 levels) in enqueue'
2017-06-20T12:39:11.017821+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:61:in `call'
2017-06-20T12:39:11.017835+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:61:in `block in initialize'
2017-06-20T12:39:11.017848+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:66:in `call'
2017-06-20T12:39:11.017882+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:66:in `execute'
2017-06-20T12:39:11.017897+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:40:in `run_callbacks'
2017-06-20T12:39:11.017911+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/backend/base.rb:33:in `block in enqueue'
2017-06-20T12:39:11.017924+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/backend/base.rb:32:in `tap'
2017-06-20T12:39:11.017937+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/backend/base.rb:32:in `enqueue'
2017-06-20T12:39:11.017951+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/message_sending.rb:12:in `method_missing'
2017-06-20T12:39:11.017964+00:00 app[web.1]: App 138 stdout: /app/app/controllers/notifications_controller.rb:8:in `block in clear'
2017-06-20T12:39:11.017977+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in `each'
2017-06-20T12:39:11.017991+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/relation/delegation.rb:46:in `each'
2017-06-20T12:39:11.018004+00:00 app[web.1]: App 138 stdout: /app/app/controllers/notifications_controller.rb:6:in `clear'
2017-06-20T12:39:11.018018+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2017-06-20T12:39:11.018051+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action'
2017-06-20T12:39:11.018065+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
2017-06-20T12:39:11.018078+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2017-06-20T12:39:11.018091+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'
2017-06-20T12:39:11.018105+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'
2017-06-20T12:39:11.018118+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
2017-06-20T12:39:11.018132+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'
2017-06-20T12:39:11.018151+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'
2017-06-20T12:39:11.018165+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2017-06-20T12:39:11.018179+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
2017-06-20T12:39:11.018213+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
2017-06-20T12:39:11.018227+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2017-06-20T12:39:11.018240+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
2017-06-20T12:39:11.018254+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2017-06-20T12:39:11.018267+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument'
2017-06-20T12:39:11.018281+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2017-06-20T12:39:11.018294+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument'
2017-06-20T12:39:11.018309+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2017-06-20T12:39:11.018327+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2017-06-20T12:39:11.018340+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2017-06-20T12:39:11.018375+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process'
2017-06-20T12:39:11.018389+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process'
2017-06-20T12:39:11.018403+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in `dispatch'
2017-06-20T12:39:11.018416+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2017-06-20T12:39:11.018429+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in `block in action'
2017-06-20T12:39:11.018443+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `call'
2017-06-20T12:39:11.018456+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
2017-06-20T12:39:11.018469+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
2017-06-20T12:39:11.018483+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2017-06-20T12:39:11.018496+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each'
2017-06-20T12:39:11.018510+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve'
2017-06-20T12:39:11.018543+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call'
2017-06-20T12:39:11.018556+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/workless_revived-1.2.5/lib/workless/middleware/workless_checker.rb:7:in `call'
2017-06-20T12:39:11.018570+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
2017-06-20T12:39:11.018583+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
2017-06-20T12:39:11.018596+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
2017-06-20T12:39:11.018616+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
2017-06-20T12:39:11.018630+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2
2017-06-20T12:39:11.018643+00:00 app[web.1]: App 138 stdout: .0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
2017-06-20T12:39:11.018656+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
2017-06-20T12:39:11.018669+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:189:in `call!'
2017-06-20T12:39:11.018705+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/strategy.rb:167:in `call'
2017-06-20T12:39:11.018718+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/omniauth-1.6.1/lib/omniauth/builder.rb:63:in `call'
2017-06-20T12:39:11.018731+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'
2017-06-20T12:39:11.018745+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'
2017-06-20T12:39:11.018758+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'
2017-06-20T12:39:11.018771+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/etag.rb:24:in `call'
2017-06-20T12:39:11.018785+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/conditionalget.rb:38:in `call'
2017-06-20T12:39:11.018798+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/head.rb:13:in `call'
2017-06-20T12:39:11.018811+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2017-06-20T12:39:11.018825+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
2017-06-20T12:39:11.018838+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:225:in `context'
2017-06-20T12:39:11.018903+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/session/abstract/id.rb:220:in `call'
2017-06-20T12:39:11.018917+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2017-06-20T12:39:11.018930+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call'
2017-06-20T12:39:11.018944+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
2017-06-20T12:39:11.018957+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2017-06-20T12:39:11.018971+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
2017-06-20T12:39:11.018984+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
2017-06-20T12:39:11.018998+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
2017-06-20T12:39:11.019032+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2017-06-20T12:39:11.019047+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2017-06-20T12:39:11.019060+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2017-06-20T12:39:11.019074+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2017-06-20T12:39:11.019087+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app'
2017-06-20T12:39:11.019100+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `block in call'
2017-06-20T12:39:11.019127+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2017-06-20T12:39:11.019148+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:26:in `tagged'
2017-06-20T12:39:11.019163+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `tagged'
2017-06-20T12:39:11.019199+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `call'
2017-06-20T12:39:11.019212+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2017-06-20T12:39:11.019226+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/methodoverride.rb:22:in `call'
2017-06-20T12:39:11.019240+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/runtime.rb:18:in `call'
2017-06-20T12:39:11.019256+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2017-06-20T12:39:11.019270+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'
2017-06-20T12:39:11.019283+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/font_assets-0.1.12/lib/font_assets/middleware.rb:29:in `call'
2017-06-20T12:39:11.019298+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.8/lib/rack/sendfile.rb:113:in `call'
2017-06-20T12:39:11.019312+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/ssl.rb:24:in `call'
2017-06-20T12:39:11.019325+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call'
2017-06-20T12:39:11.019358+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call'
2017-06-20T12:39:11.019373+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `public_send'
2017-06-20T12:39:11.019386+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `method_missing'
2017-06-20T12:39:11.019400+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
2017-06-20T12:39:11.019413+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in `accept_and_process_next_request'
2017-06-20T12:39:11.019427+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
2017-06-20T12:39:11.019440+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
2017-06-20T12:39:11.019458+00:00 app[web.1]: App 138 stdout: /app/vendor/bundle/ruby/2.2.0/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
2017-06-20T12:39:11.059177+00:00 app[web.1]: App 138 stdout: Completed 500 Internal Server Error in 76ms (ActiveRecord: 20.1ms)
2017-06-20T12:39:11.060805+00:00 app[web.1]: App 138 stdout:
2017-06-20T12:39:11.060823+00:00 app[web.1]: App 138 stdout: NoMethodError (undefined method `self.class.scaler.up' for #<Delayed::Backend::ActiveRecord::Job:0x007f51a7ae9660>):
2017-06-20T12:39:11.060837+00:00 app[web.1]: App 138 stdout: app/controllers/application_controller.rb:30:in `handle_exception'
2017-06-20T12:39:11.060850+00:00 app[web.1]: App 138 stdout:
Any idea where the issue is? There isn't any workless file in the stacktrace, but from google, I'm guessing the issue comes from this file: https://github.com/davidakachaos/workless_revived/blob/master/lib/workless/scaler.rb
Thanks for the help