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

**URL:** <https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120>\
**Category:** Rails\
**Created:** [September 26, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120 "2006-09-26T23:05:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [September 26, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120/1 "2006-09-26T23:05:33Z")

</div>

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

Joe

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [September 26, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120/2 "2006-09-26T23:16:42Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [September 26, 2006, 11:50pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120/3 "2006-09-26T23:50:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [September 26, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120/4 "2006-09-26T23:52:42Z")

</div>

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’ 😛 )

Joe

---

<div class="post-metadata">

**Author:** ![joe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9e5f3/32.png) [@joe](https://www.ruby-forum.com/u/joe)\
**Post date:** [September 26, 2006, 11:57pm UTC](https://www.ruby-forum.com/t/dumb-question-rake-t-db-migrate-and-rake-migrate/70120/5 "2006-09-26T23:57:40Z")

</div>

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

Joe
