Possible duplicate:
What is a "for" in Ruby
Hey. My question is that these loops are the same when I iterate over the array. Thanks for your time!
<% for track in @tracks %>
or
<% @tracks.each do |track| %>
loops ruby-on-rails ruby-on-rails-3
daniel
source share