app/workers/model_worker.rb in contextualized_logs-0.0.1.pre.alpha vs app/workers/model_worker.rb in contextualized_logs-0.0.2.pre.alpha
- old
+ new
@@ -1,9 +1,9 @@
class ModelWorker
include Sidekiq::Worker
include ContextualizedLogs::ContextualizedWorker
- contextualized_worker true
- contextualized_model true
+ contextualize_worker true
+ contextualize_model true
def self.contextualize_args(args)
{ model_id: args.first, action: args.last }
end
def perform(model_id, action)