Thanks Jonathan, but I was looking for anything as this: http://github.com/foysavas/freegovernment-core/tree/master/fixtures/populate_users.rb
On 19 sep, 10:18, Jonathan Stott <[EMAIL PROTECTED]> wrote: > On Thu, 18 Sep 2008 15:29:54 -0700 (PDT) > > Kless <[EMAIL PROTECTED]> wrote: > > > Is possible add data to the DB after of define a table? I get that the > > table doesn't exist > > > And I tried also with a *Merb::BootLoader.after_app_loads* block but I > > get the same. > > Hi Kless > > We spoke about this yesterday but I was not very awake and so missed your > problem. You'll need to make sure you 'rake dm:db:automigrate' before you > start the application so all your tables are there. Once that is done, you > should be able to add add data in the BootLoader block. > > Regards, > Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
