A migration is probably the best way to approach this; you''ll be moving
your data programmatically as well as creating the new structure. If
possible, your ''down'' method could put it all back the way it
was as
well.
I did this recently, and following the create for the new tables, there
were a series of data steps within the migration to move data from the
old structure to the new. I cloned my live data to my dev envt to make
sure I handled all the existing cases. Then test, test, test.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---