Skip to content

after_restore_commit undefined for v3.0 #568

Closed
@noctivityinc

Description

@noctivityinc

Any reason why after_restore_commit with v 3.0.0 in a Rails 7.1 app would be undefined?

The very first line of my model is:

class Idea < ActiveRecord::Base
  acts_as_paranoid after_restore_commit: true

and then I have

after_restore_commit :restore_item

But when i refresh I get:

NoMethodError (undefined method `after_restore_commit' for class Idea)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions