Rename Paranoia#destroyed? to Paranoia#paranoia_destroyed?
There was a change in ActiveRecord#update_columns on latest rails so now it checks for `destroyed?` instead of `persisted?`. Paranoia can't override `destoyed?` like this anymore otherwise `update_columns` will always raise: ActiveRecord::ActiveRecordError: cannot update a destroyed record see https://github.com/rails/rails/commit/0f99aa615e11c50cc64b567f54cf64f59108c5e5
Showing
Please
register
or
sign in
to comment