date, datetime, or
timestamp) on a table and name it
deletedAt, Wheels will automagically start using it to record soft deletes.
delete()call on an object will delete the record from the table using a
DELETEstatement. With the soft delete in place, an
UPDATEstatement is sent instead (that sets the
deletedAtfield to the current time).
findAll()function, for example, it will not return any record that has a value set in the
deletedAt IS NULLto the
WHEREpart of your SQL statements instead.