I need help saving table data from a rake task

Hi Alpha,

I need to find out how I can create and save a large dataset to a table based on multiple returned arrays from a Rake task.

Since you're already using Rake, the first approach I'd take to the task would be to create a yaml file from the data returned above and then load it using the db:fixture:load task. Could potentially combine it all into a single Rake task. Just a thought. Googling 'rails create yaml from object' returns some potentially useful code snippets.

HTH, Bill