Flinn Mueller on 7 Mar 2007 19:08:14 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] importing from csv


On Mar 7, 2007, at 1:00 PM, Mat Schaffer wrote:
FasterCSV.foreach(file, :headers => :first_row) do |row|
	ModelName.create(row.to_hash)
end

This looks a little more like what I need as a start. _______________________________________________ To unsubscribe or change your settings, visit: http://lists.phillyonrails.org/mailman/listinfo/talk