Where do certain rake commands reside

Ahoy,

I’m trying to find where the

rake db:migrate , db:fixtures
and other rake commands are in the actual source code.

I’m using edge rails , just being a bit crazy and reading source code
all day and can’t find those.

Any hints?

All the Rails built in rake tasks are in
vendor/rails/railties/lib/tasks - various .rake files depending on
function.

thanks. will give a look.

You can use “rake --tasks”.
The files Tom mentioned can also be found in your apps lib/tasks/
directory.

  • Brian

Brian,

I was just curious as to what the code looked like to execute those
tasks. I looked, but need to study ruby a bit more first. heh