Sha256: 50720e2c5bcbcbf2b8c574b9853105db6aa82238a08b7cf267768a2bbda77d6a

Contents?: true

Size: 233 Bytes

Versions: 9

Compression:

Stored size: 233 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord-cause-0.8.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.7.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.6.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.5.1 lib/activerecord/cause/railtie.rb
activerecord-cause-0.5.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.4.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.4.0.beta lib/activerecord/cause/railtie.rb
activerecord-cause-0.3.0 lib/activerecord/cause/railtie.rb
activerecord-cause-0.2.1 lib/activerecord/cause/railtie.rb