Where is the source code of Rake tasks in Rails 3?

Viewed 6058

all:

I know how to show all the tasks by typing rake -T, and I know how to add my own tasks by add rake files under RAILS_ROOT/lib/tasks. But if I want to view the source code like rake db:migrate or rake doc:app to see how they work, where can I find those codes?

thank you all :)

eddie

2 Answers
Related