aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorNathan Broadbent <nathan.f77@gmail.com>2012-01-30 00:54:17 +0800
committerNathan Broadbent <nathan.f77@gmail.com>2012-01-30 03:15:49 +0800
commitb31eac56097a0bfc5f5af70de91ad261067a395f (patch)
tree940fc90f5132122e70e49cb670776f32af41bde9 /activerecord/test/fixtures
parentec4440fd4e886bc491726070b9fc44938f8798ee (diff)
downloadrails-b31eac56097a0bfc5f5af70de91ad261067a395f.tar.gz
rails-b31eac56097a0bfc5f5af70de91ad261067a395f.tar.bz2
rails-b31eac56097a0bfc5f5af70de91ad261067a395f.zip
Replaced all 'for' loops with Enumerable#each
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/developers.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/developers.yml b/activerecord/test/fixtures/developers.yml
index 308bf75de2..3656564f63 100644
--- a/activerecord/test/fixtures/developers.yml
+++ b/activerecord/test/fixtures/developers.yml
@@ -8,7 +8,7 @@ jamis:
name: Jamis
salary: 150000
-<% for digit in 3..10 %>
+<% (3..10).each do |digit| %>
dev_<%= digit %>:
id: <%= digit %>
name: fixture_<%= digit %>