mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Параметры джобы должны однозначно сериализоваться в json и обратно
This commit is contained in:
@@ -15,8 +15,8 @@ module Paperclip
|
||||
args = [
|
||||
instance.class.name,
|
||||
instance.id,
|
||||
attachment.class.attachment_name,
|
||||
store_id
|
||||
attachment.class.attachment_name.to_s,
|
||||
store_id.to_s # args must be serializable to json without type changes thus strings only
|
||||
]
|
||||
|
||||
delay.present? ? perform_in(delay, *args) : perform_async(*args)
|
||||
|
||||
Reference in New Issue
Block a user