Sha256: fcd85b951703f1350f730266b089e2c60319976eeee8d3ce130204010c3875e3
Contents?: true
Size: 182 Bytes
Versions: 2
Compression:
Stored size: 182 Bytes
Contents
class UserCacher < Cachers::Base def cache $redis.set key, record.name end def uncache $redis.del key end private def key "users/#{record.id}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cachers-0.1.1 | test/dummy/app/cachers/user_cacher.rb |
cachers-0.0.1 | test/dummy/app/cachers/user_cacher.rb |