Sha256: d7c2e71a4af03d66a7cfbea83224fb35f38cc9beb4bace727f20cd2e9244d9bd
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
cache_key :product do Product end cache_key :color_variation do [ColorVariation] end cache_key :product_and_color_variation do [Product, ColorVariation] end scope :product do cache_method :slow_method cache_method :slow_method_with_args cache_class_method :slow_class_method cache_class_method :slow_class_method_with_args end scope :color_variation do cache_method :slow_method, 'product' cache_method :slow_method_with_product do |s| s.product end cache_class_method :slow_class_method, 'product' cache_field :product_code, :from => [:product, :code] end cache_includes "nocache_time", :no_cache => true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qor_cache-0.0.3 | test/dummy/config/qor/cache.rb |