Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Connecting with :test config in rake db:test:purge

#3351

In db:test:purge task, we're automatically connecting to the database specified in test section of database.yml

Everything else in Rails is calling Rails::Initializer#initialize_database - which let's user easily change default configuration used.

E.g, I rewrote this methods, because I'm using this naming convention: {environment}app, {environment}data, etc.

db:test:purge should also call Rails::Initializer#initialize_database assuming RAILS_ENV is set to test.

Reported by Vojto · October 8th, 2009 @ 12:51 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 6th, 2010 @ 06:42 AM