rails/rails — pull request #12965 by phoet (2013-11-20 10:29:41+00:00)
Title: dont use belongs_to as it creates assemblies_id and parts_id

the guides had two different versions of the same migration. the one using `belongs_to` is broken as it creates the wrong foreign-key fields