Forum: Ruby on Rails RE: Overriding rake tasks

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tom (Guest)
on 2005-12-02 04:22
(Received via mailing list)
I have an entry on my blog, with some code, on how to remove things you
don't want from the Rake processing:

In my case, I didn't want to dump the Development database before
loading the Test database, since the machine this is running on has no
Development database.  To make this happen, I wrote the code to prune
out the tasks that dump the Development database.
Pat M. (Guest)
on 2005-12-02 04:34
(Received via mailing list)
I found that in my searching, but wasn't able to figure out how to do
what I want.  Honestly, I'm not even sure exactly what I need to do.
I just want to implement the solution in that ticket I linked to
earlier...which I think involves dropping the DB and reloading the
schema before each test is run.  I'm trying to figure out how I can
override/extend/modify the rake tasks in order to do that.

This topic is locked and can not be replied to.