Skip to content

Adds record locking support to prevent accidental deletion

License

Notifications You must be signed in to change notification settings

stetic/acts_as_lockable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Adds record locking support to prevent accidental deletion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%