Sha256: 309c9d1d6f0aadce03f1054d14616b8258a3eaf17565094bffb894e09627f192
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
require 'rubygems' require 'activerecord' require 'cache_back/configuration_mixin' require 'cache_back/cache' module CacheBack module_function def cache Thread.current["cache_back_cache"] ||= Cache.new end end ActiveRecord::Base.extend(CacheBack::ConfigurationMixin) ActionController::Dispatcher.middleware.use(CacheBack::Middleware)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cache_back-0.2.0 | lib/cache_back.rb |