Skip to content

ActiveRecord plugin allowing row/table level locking throughout multiple requests.

License

Notifications You must be signed in to change notification settings

ouranos/acts_as_lockable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActsAsLockable

ActiveRecord plugin allowing row/table level locking throughout multiple requests.

Example

In your model:

class Article
  acts_as_lockable
end

Then : @article.lock("John Doe", "Very important update") @article.unlock @article.locked?

TODO

  • Optimise queries
  • Update documentation

Copyright (c) 2010 Olivier Brisse, released under the MIT license

About

ActiveRecord plugin allowing row/table level locking throughout multiple requests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages