I need to write a rake task that invokes other rake tasks.  Can do that
fine but cannot work out the syntax for tasks that take arguments.

For example db:migrate.  How would I give it a version?

I've tried the following, but the argument is ignored:

Rake::Task['db:migrate'].invoke(:version=>'20090106012227')

Thanks in advance....
-- 
Posted via http://www.ruby-forum.com/.