rails/rails — pull request #8432 by rmcastil (2012-12-06 01:26:54+00:00)
Title: Add migration examples to Association Basics

When I help newcomers to Rails with Associations I often find they forget to build in the foreign key in their migrations. I'm wondering if it would be helpful to include example migrations for each type of association. I know the images imply the need to build in the foreign key but I think an actual migration would be more explicit. What do you guys think?

Thanks for all that you do!