diff options
author | Francis Go <francis.go@gmail.com> | 2014-11-21 23:36:05 +1100 |
---|---|---|
committer | Francis Go <francis.go@gmail.com> | 2014-11-21 23:36:05 +1100 |
commit | e389720ddd392b8ed90db190e4f514444b66da76 (patch) | |
tree | 0c35e386f6da245e4783340879f666b7215e704b /guides | |
parent | dcb3ac2c3cae08875e0df60fef671a40ea96107f (diff) | |
download | rails-e389720ddd392b8ed90db190e4f514444b66da76.tar.gz rails-e389720ddd392b8ed90db190e4f514444b66da76.tar.bz2 rails-e389720ddd392b8ed90db190e4f514444b66da76.zip |
Update grammar in Getting Started Guide [ci skip]
Diffstat (limited to 'guides')
-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. |