Chris wrote: > Hi Freddy, > > thanks for the hint, I guess this helps me out. :) > > At this point, I only set up the db structure in migrations, no data > at all. > So no data could be transfered to the server...
Setting up data in migrations is possible but awkward if you have more than a very small number of records. Fortunately, there are a couple of gems and plugins designed for seed data (I've never used any of them, but a quick Web search should get you some useful info), and it wouldn't be at all hard to write a simple Rake task or config item that reads data out of a YAML file or something. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 -~----------~----~----~----~------~----~------~--~---

