aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKevin Busby <kevinb@earthrid.com>2015-04-28 17:00:50 +0100
committerKevin Busby <kevinb@earthrid.com>2015-04-28 17:00:50 +0100
commit1856899364709c5262dab3820e6e8b54a0d86733 (patch)
tree6e5de5dd26a0e1fbd3c3d2e843a33e248bdf76cb /guides
parent9e84c0096f2c8ec27cf354ac2817cc49cbbcb783 (diff)
downloadrails-1856899364709c5262dab3820e6e8b54a0d86733.tar.gz
rails-1856899364709c5262dab3820e6e8b54a0d86733.tar.bz2
rails-1856899364709c5262dab3820e6e8b54a0d86733.zip
Rewording
Rewording in accordance with the documentation guidelines (‘Prefer wordings that avoid "you"s and "your”s.’) and to remove in particular “if you'd call”.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/getting_started.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 684a53e472..31168ff45e 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1240,10 +1240,7 @@ 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: You don't need to pass all attributes to `update`. For
-example, if you'd call `@article.update(title: 'A new title')`
-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')` were 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