resque deals with stringified hashes, not symbolized ones [ci skip]
This commit is contained in:
parent
640a0181ab
commit
8529293eee
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ module Jobs
|
|||
def self.perform(user_id, object_class_name, object_id, opts)
|
||||
user = User.find(user_id)
|
||||
object = object_class_name.constantize.find(object_id)
|
||||
opts = HashWithIndifferentAccess.new(opts)
|
||||
opts[:services] = user.services.where(:type => opts.delete(:service_types)).all
|
||||
|
||||
if opts[:additional_subscribers].present?
|
||||
|
|
|
|||
Loading…
Reference in a new issue