This project is archived and is in readonly mode.

#5710 ✓stale
Nic Benders

rake db:structure:dump incorrectly uses the test environment adapter in error

Reported by Nic Benders | September 26th, 2010 @ 08:01 PM | in 2.3.10

Although the dump logic uses abcs[Rails.env]["adapter"], the error message uses abcs["test"]["adapter"]. This patch simply updates the error message to use the same selection as the case statement does.

I have generated patches against 2-3-stable and 3-0-stable, the 3.0 patch also applies cleanly to the current master (29f13bed "3.1.0.beta").

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=""></a>