public
Description: Mark objects as destroyed instead of deleting them from the database for Ruby on Rails ActiveRecord
Homepage:
Clone URL: git://github.com/ryanlowe/acts_as_indestructible.git
100644 3 lines (3 sloc) 0.12 kb
1
2
3
require 'acts_as_indestructible'
require 'fixture'
ActiveRecord::Base.send(:include, ActiveRecord::Acts::Indestructible)