Sha256: f1c5a94c5675fd88b654d91028986cfaafe2b34515b03fd61d8b1e372447dee5
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
module Qor module Cache class Railtie < Rails::Engine initializer "insert_active_record_methods_for_qor_cache" do ActiveSupport.on_load(:active_record) do ::ActiveRecord::Base.send :include, ::Qor::Cache::ActiveRecord end end initializer "qor_cache_init_cache_method", :after => "insert_active_record_methods_for_qor_cache" do ActiveSupport.on_load(:after_initialize) do Qor::Cache::Base.init_cache_methods Qor::Cache::Base.init_cache_class_methods end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qor_cache-0.0.3 | lib/qor_cache/engine.rb |