Browse files

alias added for rails runner guide

  • Loading branch information...
vishnuatrai committed Jul 21, 2011
1 parent 9c7a55c commit 444e01e4af3b321e0ee3b7e4d41538dab23f7d67
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/command_line.textile
@@ -311,6 +311,8 @@ h4. +rails runner+
$ rails runner "Model.long_running_method"
You can also use the alias "r" to run Ruby code in the context of Rails: <tt>rails r</tt>.
You can specify the environment in which the +runner+ command should operate using the +-e+ switch.

0 comments on commit 444e01e

Please sign in to comment.