public
Description: Global named locks (req. mysql) -- Extraction from Shopify
Homepage: http://www.shopify.com
Clone URL: git://github.com/tobi/locking.git
Search Repo:
Tobias Lütke (author)
Sat Mar 08 10:32:56 -0800 2008
commit  835469ed48f4c2de95856fe2f221eaa624b267a2
tree    1be46f9e8af60e12304e378ffae04e891b7557cf
parent  ef1e9941feb2788d6a4580bd7e033aaefad2cd73
locking / init.rb
100755 3 lines (2 sloc) 0.061 kb
1
2
3
require 'locking'
 
ActiveRecord::Base.send(:include, Locking)