rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 11 forks source link

Destroy actions should not destroy #61

Open cflipse opened 4 years ago

cflipse commented 4 years ago

Most things should be able to take a state. When "destroying" an object, rather than allowing it be deleted from the database, mark it in an inactive state. This prevents corrupting old data, while still allowing a notation of things that are no longer relevant.

mariogmz commented 4 years ago

I would like to work on this one :) I'll send a PR soon.

mariogmz commented 4 years ago

@cflipse it's ready!