Skip to content

NoMethodError in TrulyDestroySoftDeletedRecordsJob@default #3652

@SebouChu

Description

@SebouChu

Error in Osuny

NoMethodError in TrulyDestroySoftDeletedRecordsJob@default
undefined method 'attachment_reflections' for nil

  record.attachment_reflections[name]&.options&.fetch(:dependent, nil)
        ^^^^^^^^^^^^^^^^^^^^^^^

View on Bugsnag

Stacktrace

app/jobs/truly_destroy_soft_deleted_records_job.rb:72 - block in TrulyDestroySoftDeletedRecordsJob#perform
app/jobs/truly_destroy_soft_deleted_records_job.rb:70 - Array#each
app/jobs/truly_destroy_soft_deleted_records_job.rb:70 - TrulyDestroySoftDeletedRecordsJob#perform

View full stacktrace

Created automatically via Bugsnag

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions