8000 GitHub - ouranos/acts_as_lockable: ActiveRecord plugin allowing row/table level locking throughout multiple requests.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

0