In Rails Guides
(Testing Rails Applications — Ruby on Rails Guides)
they mention some “rake db:test:load” command and other “rake db:test:*”
commands. But when I do “rake -D db” or “rake -T” there is no any “rake
db:test” in the output.
It makes me think that there are dozens of rake commands that are not
distributed when I do “rake -T” (Display the tasks (matching optional
PATTERN) with descriptions) or “rake -D task” (Describe the tasks
(matching optional PATTERN) with descriptions).
Is there one special place where ALL Rails rake commands are presented
with full explanation for them? Some Rake API?
On Sunday, May 26, 2013 2:47:38 PM UTC-4, Ruby-Forum.com User wrote:
distributed when I do “rake -T” (Display the tasks (matching optional
PATTERN) with descriptions) or “rake -D task” (Describe the tasks
(matching optional PATTERN) with descriptions).
Is there one special place where ALL Rails rake commands are presented
with full explanation for them? Some Rake API?
not that I know of. the issue with trying to document such a list is
that
rake isn’t an API, it’s a general utility for automating tasks. rake
tasks
can be defined and created by gems, you can also create your own.
Therefore, it would be difficult to document them all in one place,
they’re usually documented with the functionality they support. For
example, the edge guide on migrations documents rake tasks related to
migrations.
There is an overview of the rake commands and the various categories of
tasks that are provided in the default rails bundle at the following:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.