<bill-4qJMilvFZdi/7u6bA4Lga2Xnswh1EIUO@public.gmane.org>
2005-Aug-30 21:27 UTC
array data to db?
Can someone help a newbie here. Trying to learn Ruby and rails at the same time is troublesome. I tried looking for this in the pick axe and rails books and could find an answer to my problem. Can someone help a newbie here? I have an array called @labelArr that has n number of elements and I want to add each element of the array to a table called Labels that has two fields (id & labelName) can someone help me with how I would do this? thanks, -bill