Sha256: 83ce5648d35ffa3a738ffee35bdde64d06c395e9aa8b1bd781fe32beca7c76f6

Contents?: true

Size: 1018 Bytes

Versions: 3

Compression:

Stored size: 1018 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'second_level_cache/active_record/base'
require 'second_level_cache/active_record/fetch_by_uniq_key'
require 'second_level_cache/active_record/finder_methods'
require 'second_level_cache/active_record/persistence'
require 'second_level_cache/active_record/belongs_to_association'
require 'second_level_cache/active_record/has_one_association'

ActiveRecord::Base.send(:include, SecondLevelCache::Mixin)
ActiveRecord::Base.send(:include, SecondLevelCache::ActiveRecord::Base)
ActiveRecord::Base.send(:extend, SecondLevelCache::ActiveRecord::FetchByUniqKey)
ActiveRecord::FinderMethods.send(:include, SecondLevelCache::ActiveRecord::FinderMethods)
ActiveRecord::Base.send(:include, SecondLevelCache::ActiveRecord::Persistence)
ActiveRecord::Associations::BelongsToAssociation.send(:include, SecondLevelCache::ActiveRecord::Associations::BelongsToAssociation)
ActiveRecord::Associations::HasOneAssociation.send(:include, SecondLevelCache::ActiveRecord::Associations::HasOneAssociation)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
second_level_cache-1.6.0 lib/second_level_cache/active_record.rb
second_level_cache-1.5.1 lib/second_level_cache/active_record.rb
second_level_cache-1.5.0 lib/second_level_cache/active_record.rb