Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Adds record locking support to prevent accidental deletion
branch: master

This branch is 1 commit ahead, 2 commits behind thincloud:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db/migrate
lib
tasks
test
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
Something went wrong with that request. Please try again.