Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [3b9120fa52b76fb8591fe1d0db85d1a940e867d0] by Santiago Pastorino

Revision 3b9120fa52b76fb8591fe1d0db85d1a940e867d0, committed by Santiago Pastorino · December 16th, 2010 @ 10:58 PM

Generate add_index by default when giving type belongs_to or references
https://github.com/rails/rails/commit/3b9120fa52b76fb8591fe1d0db85d...

4 changed files

  • M activerecord/CHANGELOG
  • M activerecord/lib/rails/generators/active_record/model/templates/migration.rb
  • M railties/guides/source/getting_started.textile
  • M railties/test/generators/scaffold_generator_test.rb