1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

alias added for rails runner guide

This commit is contained in:
Vishnu Atrai 2011-07-21 23:46:42 +05:30
parent 9c7a55cf11
commit 444e01e4af

View file

@ -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>