Sha256: 5b01ca9f5f40da5709ff29c96ef97d43db4a848bdbc1effbea271141b32fdfa5

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

ActiveRecordProfiler.stats_flush_period = 1.hour
ActiveRecordProfiler.profile_dir = Rails.root.join("log", "profiler_data")
ActiveRecordProfiler.sql_ignore_pattern = 
  /^(SHOW (:?FULL )?FIELDS |SET SQL_AUTO_IS_NULL|SET NAMES |EXPLAIN |BEGIN|COMMIT|PRAGMA )/i
ActiveRecordProfiler.app_path_pattern = Regexp.new(Regexp.quote("#{Rails.root.expand_path}/") + "(:?app|lib|vendor)/")
ActiveRecordProfiler.trim_root_path = "#{Rails.root.expand_path}/"
ActiveRecordProfiler.trim_cache_id_pattern = /___?[0-9]+_[0-9]+(?=')/
ActiveRecordProfiler.profile_self = false
ActiveRecordProfiler.link_location = false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active-record-profiler-2.0.0 config/initializers/default_config.rb