2009/7/28 rilindo foster <[email protected]>:
>
> Hi Guys,
>
> Is it normal for Rails to create and delete the test database during
> rake tests? It seems to be case when I started to run it.
>
> Is there a way for the Rails not to create and delete databases during
> testing? I am little uncomfortable granting that much power to the
> rails user for testing - I would rather that it use the existing
> database and just delete/recreate tables instead.
>

In database.yml you can specify a different user for test and
production.  The production user can then just have whatever
permissions he requires to run the app.

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to