Module: Rake::Rails

Defined in:
lib/rake-rails/tasks.rb,
lib/rake-rails/railtie.rb,
lib/rake-rails/version.rb

Defined Under Namespace

Classes: Railtie, Tasks

Constant Summary collapse

TASKS =
{
  "generate"    => "Generate new code (short-cut alias: \"g\")",
  "console"     => "Start the Rails console (short-cut alias: \"c\")",
  "server"      => "Start the Rails server (short-cut alias: \"s\")",
  "dbconsole"   => "Start a console for the database specified in config/database.yml (short-cut alias: \"db\")",

  "application" => "Generate the Rails application code",
  "destroy"     => "Undo code generated with \"generate\"",
  "benchmarker" => "See how fast a piece of code runs",
  "profiler"    => "Get profile information from a piece of code",
  "plugin"      => "Install a plugin",
  "runner"      => "Run a piece of code in the application environment"
}
ALIASES =
{
  "g"  => "generate",
  "c"  => "console",
  "s"  => "server",
  "db" => "dbcsonsole"
}
VERSION =
"0.0.1"