Adds record locking support to prevent accidental deletion
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
db/migrate
lib
test
.gitignore
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

ActsAsLockable
==============

Allows you to create locks on a record so that it can't be accidentally deleted.


Example
=======

@obj.locked?  => false
@obj.lock!
@obj.locked?  => true
@obj.unlock!
@obj.locked?  => false
....


Copyright (c) 2009 Thincloud, LLC., released under the MIT license