File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
actionpack/lib/action_view
activerecord/lib/active_record Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ module ActionView #:nodoc:
116116 # xml.language "en-us"
117117 # xml.ttl "40"
118118 #
119- # for item in @recent_items
119+ # @recent_items.each do |item|
120120 # xml.item do
121121 # xml.title(item_title(item))
122122 # xml.description(item_description(item)) if item_description(item)
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ class FixturesFileNotFound < StandardError; end
126126# Some times you don't care about the content of the fixtures as much as you care about the volume. In these cases, you can
127127# mix ERB in with your YAML fixtures to create a bunch of fixtures for load testing, like:
128128#
129- # <% for i in 1..1000 %>
129+ # <% ( 1..1000).each do |i| %>
130130# fix_<%= i %>:
131131# id: <%= i %>
132132# name: guy_<%= 1 %>
You can’t perform that action at this time.
0 commit comments