aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorSzymon Madeja <smadeja1@gmail.com>2015-04-05 17:10:40 +0200
committerSzymon Madeja <smadeja1@gmail.com>2015-04-05 17:10:40 +0200
commit1fda385cdf9958d5d312fce48b0b40a9d85221b8 (patch)
tree50a4c658b5f8a4bbb4f820558253e091c66786f3 /guides/source
parent9cc41c36f7643e6d928075e32b660de69b31a86a (diff)
downloadrails-1fda385cdf9958d5d312fce48b0b40a9d85221b8.tar.gz
rails-1fda385cdf9958d5d312fce48b0b40a9d85221b8.tar.bz2
rails-1fda385cdf9958d5d312fce48b0b40a9d85221b8.zip
Update command_tasks source code
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/initialization.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/initialization.md b/guides/source/initialization.md
index 8fbb234698..c0c8b7d4b6 100644
--- a/guides/source/initialization.md
+++ b/guides/source/initialization.md
@@ -163,7 +163,7 @@ throwing an error message. If the command is valid, a method of the same name
is called.
```ruby
-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 run_command!(command)
command = parse_command(command)