ms wrote:
> Thanks for your answer, I'll explain: I've got my migrations where I
> can set up the table layout. Afterwards I want to fill this database
> with some predefined records. These records should lay somewhere else
> in simple text files, CSV, XML or whatever. It's just about to divide
> the table definitions and the data I want to add directly after the
> creation.

You mean seeding? There's a couple of plugins for this, like seed_fu. 
You could also use fixtures and load those using rake db:fixtures:load. 
Finally, seeding will be supported out of the box in upcoming Rails 
releases.

--
Roderick van Domburg
http://www.nedforce.com
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to