From: Mitchell Gould Date: 2008-07-15T05:03:15+09:00 Subject: how to loop through two arrays in parallel I have two arrays from a form. params[:products] and params[:quantity] which are products[] and quantity[] I would like to extract the data from each item to get their name and quantity. Is there a way in Ruby to do this? for product in products[] and quantity in quantity[]? -- Posted via http://www.ruby-forum.com/.