diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-03-10 19:32:58 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-03-10 19:32:58 -0300 |
commit | 80b27c2ae41967e4ec398999092e94d740a4efd1 (patch) | |
tree | 157833f1053014f33de954b7405c0d25bca2a68e /railties/lib/rails/commands/commands_tasks.rb | |
parent | d41154094a332a3dd797c4148894fbcd1e5ad5ff (diff) | |
parent | 9e61a14d4be5122fd863b8ae8096a053bb47144c (diff) | |
download | rails-80b27c2ae41967e4ec398999092e94d740a4efd1.tar.gz rails-80b27c2ae41967e4ec398999092e94d740a4efd1.tar.bz2 rails-80b27c2ae41967e4ec398999092e94d740a4efd1.zip |
Merge pull request #11616 from arunagw/removed-application-command-rails
Removed command "application"
Diffstat (limited to 'railties/lib/rails/commands/commands_tasks.rb')
-rw-r--r-- | railties/lib/rails/commands/commands_tasks.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/rails/commands/commands_tasks.rb b/railties/lib/rails/commands/commands_tasks.rb index de60423784..f061c2bf74 100644 --- a/railties/lib/rails/commands/commands_tasks.rb +++ b/railties/lib/rails/commands/commands_tasks.rb @@ -20,7 +20,6 @@ The most common rails commands are: new application called MyApp in "./my_app" In addition to those, there are: - application Generate the Rails application code destroy Undo code generated with "generate" (short-cut alias: "d") plugin new Generates skeleton for developing a Rails plugin runner Run a piece of code in the application environment (short-cut alias: "r") @@ -28,7 +27,7 @@ In addition to those, there are: All commands can be run with -h (or --help) for more information. EOT - COMMAND_WHITELIST = %(plugin generate destroy console server dbconsole application runner new version help) + COMMAND_WHITELIST = %(plugin generate destroy console server dbconsole runner new version help) def initialize(argv) @argv = argv @@ -87,10 +86,6 @@ EOT Rails::DBConsole.start end - def application - require_command!("application") - end - def runner require_command!("runner") end |