Porting ActiveRecord "soft delete" behavior to Postgres
You’ve probably used libraries like paranoia or acts_as_paranoid before. Check out how to implement this behavior in Postgres using functions, triggers, and views!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
You’ve probably used libraries like paranoia or acts_as_paranoid before. Check out how to implement this behavior in Postgres using functions, triggers, and views!
Post a comment