Skip to content

ActiveJob::SerializationError: Unsupported argument type: ActiveRecord::Relation #9420

Open
@sentry-io

Description

@sentry-io

Sentry Issue: PLOTS2-188

ActiveJob::SerializationError: Unsupported argument type: ActiveRecord::Relation
  app/models/user.rb:368:in `send_digest_email'
    SubscriptionMailer.send_digest(id, @nodes, @frequency).deliver_later
  app/jobs/digest_mail_job.rb:14:in `perform'
    users.each(&:send_digest_email)
...
(59 additional frame(s) were not displayed)

Unsupported argument type: ActiveRecord::Relation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugthe issue is regarding one of our programs which faces problems when a certain task is executedhelp wantedrequires help by anyone willing to contribute

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions