I'm looking for a way to faux-delete rows from a table using Rails. The rows shouldn't show up in any normal .find()
search except for when I want to show recently deleted items. I'm using an Activities table right now for management of such tasks, which stores the class
, id
and method
performed on rows recently.
Is there a way to disable a row without actually removing it from the table. Kind of like how iTunes has the checkbox next to songs?