Sha256: 12d61014d27fe936f8699d7ec24ce8ce1c44dd65bcbb3094ba4893a01b6ef9cd

Contents?: true

Size: 329 Bytes

Versions: 29

Compression:

Stored size: 329 Bytes

Contents

SHOULDA_NOISE      = %w(shoulda).freeze
FACTORY_GIRL_NOISE = %w(factory_bot).freeze
RENALWARE_NOISE = SHOULDA_NOISE + FACTORY_GIRL_NOISE

Rails.backtrace_cleaner.add_silencer do |line|
  RENALWARE_NOISE.any? { |dir| line.include?(dir) }
end

# When debugging, uncomment the next line.
# Rails.backtrace_cleaner.remove_silencers!

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
renalware-core-2.0.16 config/initializers/backtrace_silencers.rb
renalware-core-2.0.15 config/initializers/backtrace_silencers.rb
renalware-core-2.0.14 config/initializers/backtrace_silencers.rb
renalware-core-2.0.13 config/initializers/backtrace_silencers.rb
renalware-core-2.0.12 config/initializers/backtrace_silencers.rb
renalware-core-2.0.11 config/initializers/backtrace_silencers.rb
renalware-core-2.0.9 config/initializers/backtrace_silencers.rb
renalware-core-2.0.8 config/initializers/backtrace_silencers.rb
renalware-core-2.0.7 config/initializers/backtrace_silencers.rb
renalware-core-2.0.5 config/initializers/backtrace_silencers.rb
renalware-core-2.0.4 config/initializers/backtrace_silencers.rb
renalware-core-2.0.3 config/initializers/backtrace_silencers.rb
renalware-core-2.0.2 config/initializers/backtrace_silencers.rb
renalware-core-2.0.1 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0.pre.rc13 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0.pre.rc11 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0.pre.rc10 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0.pre.rc9 config/initializers/backtrace_silencers.rb
renalware-core-2.0.0.pre.rc8 config/initializers/backtrace_silencers.rb