Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 297 Bytes
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