I needed to do this in Rails 2, and had trouble finding any anything about how it could be done. I did eventually find some information, so I thought I’d share.
Here’s how it looked for me:
class User < ActiveRecord::Base
Also came across an article talking about some of the downsides to soft delete. Definitely a good reminder.