diff options
author | Jordi Romero <jordi@jrom.net> | 2011-05-07 20:12:34 -0700 |
---|---|---|
committer | Jordi Romero <jordi@jrom.net> | 2011-05-07 20:12:34 -0700 |
commit | bfff5eac774df495fbf9f39a792b714788ea54d8 (patch) | |
tree | 2999e8d0adac8be6b2ac9709638bcc2e2dafc99d /railties | |
parent | 70f9558d0e4b8e605576693cbb489caa5cf6a2bc (diff) | |
download | rails-bfff5eac774df495fbf9f39a792b714788ea54d8.tar.gz rails-bfff5eac774df495fbf9f39a792b714788ea54d8.tar.bz2 rails-bfff5eac774df495fbf9f39a792b714788ea54d8.zip |
Add alias `r` for rails runner
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index 4182757346..4a082aedb8 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -6,7 +6,8 @@ aliases = { "g" => "generate", "c" => "console", "s" => "server", - "db" => "dbconsole" + "db" => "dbconsole", + "r" => "runner" } command = ARGV.shift |