Hi Alpha, On Fri, 2009-07-17 at 17:09 +0200, Älphä Blüë wrote: > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

