[Rake-devel] redefine rake task broken in 0.8.x for a rails app

Charlie Savage cfis at savagexi.com
Thu Jan 3 01:03:15 EST 2008

> Are you trying to ...
> (1) Clear existing prerequisites and actions and introduce new ones, or

That is what we do.  Rails provides tasks to run tests, which include 
prerequisites that rebuild the appropriate database.  However, we have 
our own code to do that since what we do is a bit specialized.  Thus we 
have to remove the prerequisites Rails uses and slot in our own.  We do 
that by using redefine task.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://rubyforge.org/pipermail/rake-devel/attachments/20080102/b8e2bcc9/attachment.bin 

More information about the Rake-devel mailing list