GreenStepsChatt / greensteps

This is the web app for Green Steps, a community focused initiative that incentivizes litter cleanup in the Chattanooga area.
https://www.greenstepschatt.com/
MIT License
12 stars 31 forks source link

Pull out acts_as_paranoid gem #127

Closed crawfoal closed 6 years ago

crawfoal commented 6 years ago

The discard gem has a section in their readme that explains the downsides of acts_as_paranoid and paranoia. I think they're pretty significant. We should pull out acts_as_paranoid and replace it with discard or something custom to our application. Right now, I'm thinking something custom would be better because the behavior for soft deleted records (and their dependent records) is typically application specific.

crawfoal commented 6 years ago

Need to do this now because acts_as_paranoid is not compatible with Rails 5.2 (which we want to use b/c of ActiveStorage).