aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-08-31 17:58:46 -0700
committerXavier Noria <fxn@hashref.com>2011-08-31 17:58:46 -0700
commit91fc86562acaff31d55f313a7f7f3e03d0166997 (patch)
tree4ff021d568639bb4172890911b6939442f670aff /actionpack/lib
parente851e9e407c38e5026835471b7440ab7f2947490 (diff)
parentde6660b5ec4aa8c0e2415f3483aa9346ef8c9223 (diff)
downloadrails-91fc86562acaff31d55f313a7f7f3e03d0166997.tar.gz
rails-91fc86562acaff31d55f313a7f7f3e03d0166997.tar.bz2
rails-91fc86562acaff31d55f313a7f7f3e03d0166997.zip
Merge pull request #61 from gabebw/master
Improve examples by using .each instead of for...in
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index 43d67f2032..36c49d9c91 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -116,7 +116,7 @@ module ActionView #:nodoc:
# xml.language "en-us"
# xml.ttl "40"
#
- # for item in @recent_items
+ # @recent_items.each do |item|
# xml.item do
# xml.title(item_title(item))
# xml.description(item_description(item)) if item_description(item)