Sha256: ad820c2885ecbd948a6065d8df36e55ccd848e108676d446e4750afa7bea91b5

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

module Cachers
  class Railtie < Rails::Railtie

    initializer 'cachers.active_record' do
      ActiveSupport.on_load :active_record do
        ::ActiveRecord::Base.include(
          Cachers::Extensions::ActiveRecord::Base
        )
      end
    end

    rake_tasks do
      load 'tasks/cachers.rake'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cachers-5.1.2 lib/cachers/railtie.rb
cachers-5.1.1 lib/cachers/railtie.rb