lib/para/job/base.rb in para-0.7.3 vs lib/para/job/base.rb in para-0.7.4.p1
- old
+ new
@@ -7,10 +7,10 @@
# Used to translate job name with rails default `activemodel` i18n keys
extend ActiveModel::Translation
rescue_from Exception, with: :rescue_exception
- before_perform :store_job_type
+ before_enqueue :store_job_type
protected
def store_job_type
status.update(job_type: self.class.name)