Skip to content

Instantly share code, notes, and snippets.

View tikhon's full-sized avatar

Tikhon Bernstam tikhon

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tikhon on github.
  • I am tikhon (https://keybase.io/tikhon) on keybase.
  • I have a public key whose fingerprint is ECDD 9827 3666 AD09 4F21 6021 8F87 66CB ACA8 4B1A

To claim this, I am signing this object:

if RAILS_ENV != 'development'
require 'cache_money'
config = YAML.load(IO.read(File.join(RAILS_ROOT, "config", "memcached.yml")))[RAILS_ENV]
$memcache = MemCache.new(config)
$memcache.servers = config['servers']
$local = Cash::Local.new($memcache)
$lock = Cash::Lock.new($memcache)
$cache = Cash::Transactional.new($local, $lock)
/*probando*/
dsdfdsf