diff options
author | Akira Matsuda <ronnie@dio.jp> | 2014-03-16 12:23:58 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2014-03-16 12:23:58 +0900 |
commit | e9625d63bb427dc9746d8fadb9074057cd7ed11d (patch) | |
tree | d60aa50a6e4f6b20ad9d40e3aed5baf6ed5485e2 /railties/lib/rails/commands | |
parent | ecebe5ea1a30012c01977de11dfb2cdfbca970da (diff) | |
download | rails-e9625d63bb427dc9746d8fadb9074057cd7ed11d.tar.gz rails-e9625d63bb427dc9746d8fadb9074057cd7ed11d.tar.bz2 rails-e9625d63bb427dc9746d8fadb9074057cd7ed11d.zip |
Let COMMAND_WHITELIST be an Array, not a String
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/commands_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |