On Mon, Jul 6, 2009 at 8:38 AM, ms<[email protected]> wrote: > I want to insert new records manually with a little ruby script and I > want to use the corresponding rails models beyond the running rails > application.
Use script/runner to execute your script in your Rails environment. And of course you can load data from YAML, CSV -- whatever kind of files you like. HTH, -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

