Sha256: e4a537c90224c307ee7260251f4e503ab7c0979d2f846ce6a47f0625346fdef7

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

module ActiveRecord
  module Cause
    class Railtie < ::Rails::Railtie
      initializer "activerecord-cause" do
        ActiveRecord::Cause.match_paths = [/#{Rails.root.join("app").to_s}/]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-cause-0.2.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.1.0 lib/activerecord/cause/railtie.rb