RUBY: Each loop statment in ruby on rails

rows.each do |row|
puts  row.id
end

Here rows is an array.

No comments:

Post a Comment