delete_paranoid
Soft Delete ActiveRecord instances.
Usage
class Blog < ActiveRecord::Base
acts_as_paranoid
end
blog = Blog.create :name => 'foo'
blog.destroy #soft delete the record
Features
Contributing
-
Fork the project
-
Fix the issue
-
Submit a pull request on github
Patch acceptance criteria
-
tests must be included
Copyright
Copyright © 2011 Ryan Sonnek. See LICENSE.txt for further details.