You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the deleted at field is still in the instance and it is re-added; it has a deleted_at so it shows as deleted, yet it doesn't have the changeset to undelete it. As of now, I have to explicitly call refresh_from_db to update
The issue I am noticing is that when you undelete a record, it makes the change in the database but does not seem to change the model instance.
So I have a deleted record, I undelete, make changes, and save
then the deleted at field is still in the instance and it is re-added; it has a deleted_at so it shows as deleted, yet it doesn't have the changeset to undelete it. As of now, I have to explicitly call refresh_from_db to update
or just do all of my changes and then call undelete
it seems that undelete should not just update the table but the model instance as well.
The text was updated successfully, but these errors were encountered: