You need to go buy a book buddy. Running migrations are core to building Rails applications. Explaining that is way beyond the scope of this mailing list. Get the latest Agile Web Development with Rails or read a couple of the guides from the Rails site. But I suggest buying the book.
On 2/18/09, tirili <[email protected]> wrote: > > Sorry - I#m new to ruby. > Can you please send me a few commands to be sent from commandline. > > Thanks for your reply in advance! > > On 18 Feb., 01:05, Bruno Bornsztein <[email protected]> > wrote: >> 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 -~----------~----~----~----~------~----~------~--~---
