Permalink
Browse files

Removed unnecessary command "application"

  • Loading branch information...
1 parent d411540 commit 9e61a14d4be5122fd863b8ae8096a053bb47144c @arunagw arunagw committed Jul 26, 2013
Showing with 5 additions and 6 deletions.
  1. +4 −0 railties/CHANGELOG.md
  2. +1 −6 railties/lib/rails/commands/commands_tasks.rb
@@ -1,3 +1,7 @@
+* Removed unnecessary `rails application` command.
+
+ *Arun Agrawal*
+
* Make the `rails:template` rake task load the application's initializers.
Fixes #12133.
@@ -20,15 +20,14 @@ class CommandsTasks # :nodoc:
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")
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 @@ def dbconsole
Rails::DBConsole.start
end
- def application
- require_command!("application")
- end
-
def runner
require_command!("runner")
end

0 comments on commit 9e61a14

Please sign in to comment.