Just create a new migration to insert the data, or else use a rake task. On Tue, Feb 17, 2009 at 2:32 AM, tirili <[email protected]> wrote:
> > Hello list, > > If I changed e.g. the States in 014_add_states.rb, how can I push > these into the database. > How can I do a removal of the former values and a insert of the new > values ? > > I tried a > > ruby 014_add_states.rb > > which ends up in a error: > > 014_add_states.rb:1: uninitialized constant ActiveRecord (NameError) > > Hope sb can help me. > > Thanks for your reply in advance. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
