aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-04-05 17:26:42 +0200
committerYves Senn <yves.senn@gmail.com>2015-04-05 17:26:42 +0200
commit9040699aed64a725cc66461d63f794abc2f13afc (patch)
treec520a28e40d5e1381bc740d2a7d189a80533479c /guides
parent70b7e281deeb08f20b2254fd779ddfa0945358f2 (diff)
parent1fda385cdf9958d5d312fce48b0b40a9d85221b8 (diff)
downloadrails-9040699aed64a725cc66461d63f794abc2f13afc.tar.gz
rails-9040699aed64a725cc66461d63f794abc2f13afc.tar.bz2
rails-9040699aed64a725cc66461d63f794abc2f13afc.zip
Merge pull request #19657 from smadeja/guides-update
Update command_tasks source code
Diffstat (limited to 'guides')
-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)