• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

BetterErrors / better_errors / 582 / 44
86%
master: 97%

Build:
Build:
LAST BUILD BRANCH: feature/content-type
DEFAULT BRANCH: master
Ran 16 Feb 2020 04:15PM UTC
Files 12
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Feb 2020 04:05PM UTC coverage: 85.0% (-0.3%) from 85.337%
2.5.1, gemfiles/rails51.gemfile

Pull #449

travis-ci

web-flow
Allow skipping variable inspection by class name

This adds a new global setting `BetterErrors.ignored_classes` that will
skip inspecting the value of local and instance variables of this type.
The default setting ignores action dispatch request and response
instances, which are usually not printed anyways due to exceeding the
limit of `BetterErrors.maximum_variable_inspect_size`, but also avoids
all the memory allocations and database queries that are triggered by
calling `#inspect` on variables.

The default setting was chosen to avoid excessive database queries for
unloaded relations, because both the `ActionDispatch::Request` and the
`ActionDispatch::Response` objects hold many references to the
controller instance, causing the same instance variables to be inspected
over and over again.
Pull Request #449: Allow skipping variable inspection by class name

357 of 420 relevant lines covered (85.0%)

40.41 hits per line

Source Files on job 582.44 (2.5.1, gemfiles/rails51.gemfile)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 563
  • Travis Job 582.44
  • 55a263e1 on github
  • Prev Job for 2.5.1, gemfiles/rails51.gemfile on ignore-variables-by-class-name (#564.44)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc