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
If I use upmin to update a user's deleted_at, i get an error as soon as i save the record because the paranoia gem prevents the record from being found.
Then there is the matter that the deleted record can't be found through upmin at all... and the main reason I ended up using upmin in the first place was because I was hoping to give some less than technically savvy people a way to undo record deletion by manually removing deleted_at values from records.
Definitely not a bug but would be a nice option - to be able to even view and edit records that have deleted_at IS NOT NULL
I can't seem to label this issue but it's definitely an enhancement request and not a bug.
The text was updated successfully, but these errors were encountered:
Looking at the paranoia docs, I'm not seeing anay stragforward wy to achieve this within Upmin, and it's also quite specifc to this particular soft-delete gem, so possibly out of scope.
This would apply to all models though, and not sure how paranoia behaves for models without a deleted_at column. (ideally it should pass the request though as .all or whatever).
Let us know how it goes!
Edit: Also, if you get to the point where you can successfully find a deleted record, you will be able to customise the view to add an undelete button for deleted records.
If I use upmin to update a user's deleted_at, i get an error as soon as i save the record because the paranoia gem prevents the record from being found.
Then there is the matter that the deleted record can't be found through upmin at all... and the main reason I ended up using upmin in the first place was because I was hoping to give some less than technically savvy people a way to undo record deletion by manually removing deleted_at values from records.
Definitely not a bug but would be a nice option - to be able to even view and edit records that have
deleted_at IS NOT NULL
I can't seem to label this issue but it's definitely an enhancement request and not a bug.
The text was updated successfully, but these errors were encountered: