Sha256: 82fa5cfe88ff7488ff5fd8346df1c2fe33e8e76c52dee92e2175152bf5819b67
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require 'active_model_cachers/version' require 'active_model_cachers/config' require 'active_model_cachers/cache_service_factory' require 'active_record' require 'active_record/relation' require 'active_model_cachers/active_record/extension' module ActiveModelCachers def self.config @config ||= Config.new yield(@config) if block_given? return @config end end ActiveRecord::Base.send(:extend, ActiveModelCachers::ActiveRecord::Extension)
Version data entries
9 entries across 9 versions & 1 rubygems