On Jan 2, 2008 10:03 PM, Charlie Savage <[EMAIL PROTECTED]> wrote:
> >
> > 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.

task('foo').prerequisites.clear

-- Assaf
http://labnotes.org

>
> Charlie
>
> _______________________________________________
> Rake-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rake-devel
>
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to