Skip to content
Browse files

alias added for rails runner guide

  • Loading branch information...
1 parent 9c7a55c commit 444e01e4af3b321e0ee3b7e4d41538dab23f7d67 @vatrai vatrai committed Jul 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/command_line.textile
View
2 railties/guides/source/command_line.textile
@@ -311,6 +311,8 @@ h4. +rails runner+
$ rails runner "Model.long_running_method"
</shell>
+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.
<shell>

0 comments on commit 444e01e

Please sign in to comment.
Something went wrong with that request. Please try again.