Posts [ 1 ]

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: