This project is archived and is in readonly mode.

#1045 ✓committed
Frederick Cheung

Stop AR's debug.log filling with warnings about not being able to load fixture classes

Reported by Frederick Cheung | September 14th, 2008 @ 08:45 PM

The models for the Active Record unit tests aren't autoloadable and are explicitly required. The fixtures helper still tries to load them (without knowing where they are) which fills the log files with warnings. This patch wraps the appropriate function in a logger.silence block when the Active Record unit tests are running

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments