diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2014-11-21 13:06:56 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2014-11-21 13:06:56 +0000 |
commit | 8613b31627fc551dbf637bbe9c5c363f84a3ebea (patch) | |
tree | 0c35e386f6da245e4783340879f666b7215e704b | |
parent | dcb3ac2c3cae08875e0df60fef671a40ea96107f (diff) | |
parent | e389720ddd392b8ed90db190e4f514444b66da76 (diff) | |
download | rails-8613b31627fc551dbf637bbe9c5c363f84a3ebea.tar.gz rails-8613b31627fc551dbf637bbe9c5c363f84a3ebea.tar.bz2 rails-8613b31627fc551dbf637bbe9c5c363f84a3ebea.zip |
Merge pull request #17704 from fgo/patch-13
Update grammar in Getting Started Guide [ci skip]
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 1996158e27..87cb6d8b0b 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -833,7 +833,7 @@ class ArticlesController < ApplicationController A couple of things to note. We use `Article.find` to find the article we're interested in, passing in `params[:id]` to get the `:id` parameter from the -request. We also use an instance variable (prefixed by `@`) to hold a +request. We also use an instance variable (prefixed with `@`) to hold a reference to the article object. We do this because Rails will pass all instance variables to the view. @@ -1279,7 +1279,7 @@ And here's how our app looks so far: Our `edit` page looks very similar to the `new` page; in fact, they both share the same code for displaying the form. Let's remove this duplication by using a view partial. By convention, partial files are -prefixed by an underscore. +prefixed with an underscore. TIP: You can read more about partials in the [Layouts and Rendering in Rails](layouts_and_rendering.html) guide. |