Backgrounded Destroy ActiveRecord instances.
class Blog < ActiveRecord::Base
acts_as_destroy_backgrounded
end
blog = Blog.create! :name => 'foo'
# backgrounded destroy the instance
blog.destroy
# immediately destroy the instance
blog.destroy_immediate
- simple configuration
- support for immediately destroying
- Fork the project
- Add tests
- Fix the issue
- Submit a pull request on github
see CONTRIBUTORS.txt for complete list of contributors
Copyright (c) 2011 Socialcast Inc. See LICENSE.txt for further details.