Is there a way to update the updated_at
column when calling the destroy
method using acts_as_paranoid gem?
When I call destroy
, the deleted_at
column is set but the updated_at
column is not.
Is there a way to update the updated_at
column when calling the destroy
method using acts_as_paranoid gem?
When I call destroy
, the deleted_at
column is set but the updated_at
column is not.
Copyright © 2021 Jogjafile Inc.
I found out how to do this in general.
In the model I added this line of code: