diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-07-26 17:20:06 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-03-10 23:23:12 +0100 |
commit | 9e61a14d4be5122fd863b8ae8096a053bb47144c (patch) | |
tree | 157833f1053014f33de954b7405c0d25bca2a68e /railties | |
parent | d41154094a332a3dd797c4148894fbcd1e5ad5ff (diff) | |
download | rails-9e61a14d4be5122fd863b8ae8096a053bb47144c.tar.gz rails-9e61a14d4be5122fd863b8ae8096a053bb47144c.tar.bz2 rails-9e61a14d4be5122fd863b8ae8096a053bb47144c.zip |
Removed unnecessary command "application"
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG.md | 4 | ||||
-rw-r--r-- | railties/lib/rails/commands/commands_tasks.rb | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 95f2c25a15..35b3a379ae 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,7 @@ +* Removed unnecessary `rails application` command. + + *Arun Agrawal* + * Make the `rails:template` rake task load the application's initializers. Fixes #12133. 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 |