diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-19 22:30:51 -0700 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-05-19 22:30:51 -0700 |
commit | d0373507e79952c902f82500742910d769d70d09 (patch) | |
tree | 95ccccb9b26e59a0ef5e93627b5634c020239815 /railties | |
parent | 22abbb862a49d685a9e6767c994b20ba051c2fea (diff) | |
download | rails-d0373507e79952c902f82500742910d769d70d09.tar.gz rails-d0373507e79952c902f82500742910d769d70d09.tar.bz2 rails-d0373507e79952c902f82500742910d769d70d09.zip |
Using each instead of for in actionview guide
Diffstat (limited to 'railties')
-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 2b2c197f46..b064851312 100644 --- a/railties/guides/source/action_view_overview.textile +++ b/railties/guides/source/action_view_overview.textile @@ -615,7 +615,7 @@ atom_feed do |feed| feed.title("Posts Index") feed.updated((@posts.first.created_at)) - for post in @posts + @posts.each do |post| feed.entry(post) do |entry| entry.title(post.title) entry.content(post.body, :type => 'html') |