diff options
author | Hendy Tanata <htanata@gmail.com> | 2011-09-05 08:05:06 +0800 |
---|---|---|
committer | Hendy Tanata <htanata@gmail.com> | 2011-09-05 08:08:38 +0800 |
commit | 0a2ea92efa52165d6b840f2f18382484388389d2 (patch) | |
tree | 59e686c68316662dbae0ea10e38b4ea834aa58df /railties/guides/source/action_view_overview.textile | |
parent | 14157b779b9f65bb9d39cb38b100776f2fe1f194 (diff) | |
download | rails-0a2ea92efa52165d6b840f2f18382484388389d2.tar.gz rails-0a2ea92efa52165d6b840f2f18382484388389d2.tar.bz2 rails-0a2ea92efa52165d6b840f2f18382484388389d2.zip |
Fix grammar for content_tag_for and div_for docs.
Diffstat (limited to 'railties/guides/source/action_view_overview.textile')
-rw-r--r-- | railties/guides/source/action_view_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile index d1827c649b..edaaeb8543 100644 --- a/railties/guides/source/action_view_overview.textile +++ b/railties/guides/source/action_view_overview.textile @@ -494,7 +494,7 @@ Will generate this HTML output: </tr> </html> -You can pass a collection of Active Record objects. This method will loops through your objects and create a container for each of them. For example, given +@posts+ is an array of two +Post+ objects: +You can pass a collection of Active Record objects. This method will loop through your objects and create a container for each of them. For example, given +@posts+ is an array of two +Post+ objects: <ruby> <%= content_tag_for(:tr, @posts) do |post| %> |