Topic: The Rails Way: migrating from one-to-many to many-to-many

For one of my projects I needed to migrate from a one-to-many relationship to a many-to-many relationship. Since the site was already in production use I could not afford to lose any data -- Rails migrations (once again) to the rescue.

To help you should you face a similar change I wrote this method up in form of a howto and posted it on my blog:

http://wheremydogs.at/articles/2006/07/ … ny-to-many

Please let me know what you think and if there is anything missing!

Regards
Philipp

Last edited by philipp13 (2007-01-16 18:54:29)