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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to