Skip to content
Browse files

Let COMMAND_WHITELIST be an Array, not a String

  • Loading branch information...
1 parent ecebe5e commit e9625d63bb427dc9746d8fadb9074057cd7ed11d @amatsuda amatsuda committed Mar 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands/commands_tasks.rb
View
2 railties/lib/rails/commands/commands_tasks.rb
@@ -27,7 +27,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 runner new version help)
+ COMMAND_WHITELIST = %w(plugin generate destroy console server dbconsole runner new version help)
def initialize(argv)
@argv = argv

0 comments on commit e9625d6

Please sign in to comment.
Something went wrong with that request. Please try again.