Permalink
Browse files

Merge pull request #11616 from arunagw/removed-application-command-rails

Removed command "application"
  • Loading branch information...
2 parents d411540 + 9e61a14 commit 80b27c2ae41967e4ec398999092e94d740a4efd1 @carlosantoniodasilva carlosantoniodasilva committed Mar 10, 2014
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 80b27c2

Please sign in to comment.