Sha256: 07824234b2e2c8ab5b6e75069e7a4f2e2d0022a6ef78cb702c72d2a51b0736d5
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
module Indexers module Extensions module ActiveRecord module Base extend ActiveSupport::Concern module ClassMethods def inherited(subclass) super if File.exist?("#{Rails.root}/app/indexers/#{subclass.name.underscore}_indexer.rb") subclass.include Indexers::Concern end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
indexers-4.1.0.0 | lib/indexers/extensions/active_record/base.rb |