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 [3b6a9a020e7e6f71ab6f9ffcf1ef59c57437ca69] by Jeremy Kemper

Revision 3b6a9a020e7e6f71ab6f9ffcf1ef59c57437ca69, committed by Jeremy Kemper · September 2nd, 2009 @ 09:55 PM

Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted."

Test failures on PostgreSQL.

[#3128 state:open]

This reverts commit da636809daca9c338200811d3590e446f57c8e81.
http://github.com/rails/rails/commit/3b6a9a020e7e6f71ab6f9ffcf1ef59...

5 changed files

  • M activerecord/lib/active_record/associations.rb
  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/test/cases/associations/habtm_join_table_test.rb
  • M activerecord/test/fixtures/edges.yml
  • M activerecord/test/schema/schema.rb