Paul Lutus wrote: > > Did you want specific Ruby code to accomplish this? If so, just say so. > > record_array = [] > > job_id = 1 > > contact_id.each |id| do > record_array << [ job_id, id ] > end > > In order to take the next step, we'll need more information, like, what > database? A little more code would be helpful. The database is MySQL and the table is Assignedjobs. -- Posted via http://www.ruby-forum.com/.