Works like ActiveRecord's acts_as_paranoid, but for sequel. - I am not the original author of this plugin. I merely took the source, fixed one minor bug, and put it up on rubygems because I found it so useful. The original author is at https://gist.github.com/bgentry. To automatically use deleted_at as as a soft delete field, simply setup as such: Sequel::Model.plugin :paranoia.
Required Ruby Version
None
Authors
Misha Conway
Versions
- 0.0.7 June 04, 2013 (7 KB)
- 0.0.5 May 10, 2013 (7 KB)
- 0.0.4 May 10, 2013 (7 KB)
- 0.0.3 May 10, 2013 (7 KB)
- 0.0.2 May 10, 2013 (7 KB)