Thanks fellas. I took the latter tip to heart and removed the quotes and used .to_s
As for the [i], I'm iterating over multiple queries that have the exact same row count. Therefore, I don't need to use each. I do use each and each_with_index a lot. (1..120).each do |i| ... end .. this suffices and allows me to count the exact number of iterations I need. In cases where I don't know the row count, or the row count isn't the same count across multiple tables, I don't use the above. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

