[DUMB QUESTION] rake -T, db:migrate and rake migrate

Just wondering - ‘rake -T’ shows ‘db:migrate’, but not ‘migrate’, yet
‘rake migrate’ works. What kind of voodoo is behind that?

Joe

I’ve also wondered that! There are all kinds of rake aliases (rake
load_fixtures, etc), but I could never find out where they are
documented or listed…

On Tue, 2006-09-26 at 23:16 +0200, Jon C. wrote:

I’ve also wondered that! There are all kinds of rake aliases (rake
load_fixtures, etc), but I could never find out where they are
documented or listed…


try

rake --tasks

Craig

Craig W. wrote:

On Tue, 2006-09-26 at 23:16 +0200, Jon C. wrote:

I’ve also wondered that! There are all kinds of rake aliases (rake
load_fixtures, etc), but I could never find out where they are
documented or listed…


try

rake --tasks

Craig

‘rake -T’ == ‘rake --tasks’

(Try ‘rake --help’ :stuck_out_tongue: )

Joe

I’ve also wondered why ‘rake’ defaults to ‘rake test’ (also voodoo) –
seems like it should default to ‘rake --help’.

Joe