diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-06-07 16:01:09 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-06-07 16:01:09 +0200 |
commit | b10c3866d76492d23692076b53abcb30bcea170c (patch) | |
tree | 93ea6f78a3f2d9e2b9e09a84d42f14003bd5d733 /guides/source | |
parent | 911f189f88b49df7fc08e6a82b8f89eed86ab2b5 (diff) | |
download | rails-b10c3866d76492d23692076b53abcb30bcea170c.tar.gz rails-b10c3866d76492d23692076b53abcb30bcea170c.tar.bz2 rails-b10c3866d76492d23692076b53abcb30bcea170c.zip |
Tiny documentation edits [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 3 | ||||
-rw-r--r-- | guides/source/getting_started.md | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index d74aa319e7..bb6c395c96 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -516,7 +516,8 @@ There are a number of settings available on `config.action_mailer`: config.action_mailer.show_previews = false ``` -* `config.action_mailer.deliver_later_queue_name`. specifies the queue name for mailers. By default this is `mailers`. +* `config.action_mailer.deliver_later_queue_name` specifies the queue name for + mailers. By default this is `mailers`. ### Configuring Active Support diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 8cdb25c0c6..e64a788ac2 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1240,7 +1240,9 @@ article we want to show the form back to the user. We reuse the `article_params` method that we defined earlier for the create action. -TIP: It is not necessary to pass all the attributes to `update`. For example, if `@article.update(title: 'A new title')` were called, Rails would only update the `title` attribute, leaving all other attributes untouched. +TIP: It is not necessary to pass all the attributes to `update`. For example, +if `@article.update(title: 'A new title')` was called, Rails would only update +the `title` attribute, leaving all other attributes untouched. Finally, we want to show a link to the `edit` action in the list of all the articles, so let's add that now to `app/views/articles/index.html.erb` to make |