From e9625d63bb427dc9746d8fadb9074057cd7ed11d Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sun, 16 Mar 2014 12:23:58 +0900 Subject: Let COMMAND_WHITELIST be an Array, not a String --- railties/lib/rails/commands/commands_tasks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails') diff --git a/railties/lib/rails/commands/commands_tasks.rb b/railties/lib/rails/commands/commands_tasks.rb index f061c2bf74..6cfbc70c51 100644 --- a/railties/lib/rails/commands/commands_tasks.rb +++ b/railties/lib/rails/commands/commands_tasks.rb @@ -27,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 runner new version help) + COMMAND_WHITELIST = %w(plugin generate destroy console server dbconsole runner new version help) def initialize(argv) @argv = argv -- cgit v1.2.3