aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/backtrace_cleaner_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Find query_source_location using lazy EnumeratorJohn Hawthorn2019-04-151-0/+10
| | | | | | | | | This way, we only need to filter the backtrace up to the first non-noise stack frame. This also updates noise to be able to deal with being passed a lazy enum. We don't need this anywhere, but it seemed better for this to be consistent.
* Fix "DEPRECATION WARNING: ActionView::Template#initialize requires a locals ↵yuuji.yaginuma2019-03-091-1/+1
| | | | | | parameter" Ref: #35411
* Use backtrace cleaner to clean up backtrace for verbose query logsLachlan Sylvester2018-08-141-16/+0
|
* update BacktraceCleaner::RENDER_TEMPLATE_PATTERN to match the ↵Lachlan Sylvester2018-08-071-0/+7
| | | | ActionView::Template method names
* Filter backtrace in test to ensure irb counts as user codeLachlan Sylvester2018-08-061-5/+6
|
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* use correct variable in BacktraceCleaner testyuuji.yaginuma2016-11-261-1/+1
| | | | `@target_dir` variable was changed to local variable in 8e1714b.
* applies new string literal convention in railties/testXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* - Added test for verifying that we treat line number indications from irb as ↵Vipul A M2016-07-011-8/+16
| | | | | | user/lib code - Cleaned up backtrace cleaner test code and removed instaces variables
* Gem cont presence checking has been removedRoman V. Babenko2012-05-021-17/+15
|
* Test::Unit::Util::BacktraceFilter is never definedRafael Mendonça França2012-01-061-28/+0
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-161-2/+2
|
* test-unit 2: filter_backtrace is privateJeremy Kemper2009-11-101-2/+2
|
* Exclude gem backtrace filter if rubygems is not loadedJoshua Peek2009-10-201-16/+17
|
* Fix bad assumption in BacktraceCleaner test [#3249 state:resolved]Mike Gunderloy2009-10-181-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵Carl Lerche2009-10-161-6/+0
| | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-2/+0
| | | | application's object root)
* Add gem filter for default gem path since it maybe different than the set of ↵Joshua Peek2009-09-261-2/+2
| | | | gem paths
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Correctly clean backtraces from vendor/gems and gems in alternate install ↵Matt Jones2009-03-091-0/+29
| | | | | | locations Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Skip backtrace filter test when using minitestJeremy Kemper2009-02-271-20/+24
|
* Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵Manfred Stienstra2008-11-241-0/+28
state:committed] Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>