Permalink
Browse files

Let COMMAND_WHITELIST be an Array, not a String

  • Loading branch information...
1 parent 236bc35 commit fc702356991916f42440098d4c62c3404c2cded3 @amatsuda amatsuda committed Mar 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/commands_tasks.rb
@@ -28,7 +28,7 @@ class CommandsTasks # :nodoc:
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 = %w(plugin generate destroy console server dbconsole application runner new version help)
def initialize(argv)
@argv = argv

0 comments on commit fc70235

Please sign in to comment.