On Thu, Oct 8, 2009 at 2:42 AM, Rob Nichols <
[email protected]> wrote:

>
> Thank you Conrad. That was very helpful. Particularly the path to the
> rake files and link to the turorial.
>
> Conrad Taylor wrote:
> > Next, Rake is simply a gem that is used by Rails.  Thus, you can find
> > the documentation for Rake here and it took a simple Google search:
> >
> > http://rake.rubyforge.org
> >
> > If you search for it, you'll find it.
> >
>
> I had found this and mentioned it in my original posting. My problem was
> that the rake api told me how rake worked, but not how individual rake
> tasks such as rake db:migrate worked. It seems the only way to find this
> out is to dig into the code (which at the time of writing, I'd failed to
> locate).
>
>
If you're interested in the rake task db:migrate, you can do a search for
the
following file:

databases.rake


> I guess what I'm missing is an rdoc equivalent for rake tasks. It looks
> like there has been some thoughts along these lines as Rake has a
> display_tasks_and_comments method (which I think is used by 'rake -T').
> However the output is very basic and describes what the task does but
> not how to use it.
>
>
Did you read the following document:

http://rake.rubyforge.org/files/doc/rakefile_rdoc.html


> Perhaps I've been spoilt by api.rubyonrails.com. Its a shame that the
> rake tasks that are core to Rails, aren't as well documented.
>

What are you trying to do?  Perhaps more information from you can allow
us to better assist you.

-Conrad


>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to