diff options
author | Dharam Gollapudi <dharam.gollapudi@gmail.com> | 2015-11-13 16:58:51 -0800 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-13 20:59:41 +0100 |
commit | 52f2f9810eaf3d385ca3eef8ed6fc62e4fd1f7d3 (patch) | |
tree | abce7a1ac3bf7799bf52b19ec43c8d6adf1a15ac /railties/lib/rails/commands.rb | |
parent | 02eef9459a19f263b30d8d032017c05bfc97d00b (diff) | |
download | rails-52f2f9810eaf3d385ca3eef8ed6fc62e4fd1f7d3.tar.gz rails-52f2f9810eaf3d385ca3eef8ed6fc62e4fd1f7d3.tar.bz2 rails-52f2f9810eaf3d385ca3eef8ed6fc62e4fd1f7d3.zip |
Implement Rake proxy for Rails' command line interface.
Allows any Rake task to be run through `bin/rails` such as `bin/rails db:migrate`,
`bin/rails notes` etc.
The Rake tasks are appended to Rails' help output, and blend in as standard commands.
Diffstat (limited to 'railties/lib/rails/commands.rb')
-rw-r--r-- | railties/lib/rails/commands.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index b9c4e02ca0..7627fcf5a0 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -7,7 +7,7 @@ aliases = { "s" => "server", "db" => "dbconsole", "r" => "runner", - "t" => "test", + "t" => "test" } command = ARGV.shift |