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 [9c1bac0b7fcb627640db6824dca3e6e829a3c3e6] by Jaime Bellmyer

Revision 9c1bac0b7fcb627640db6824dca3e6e829a3c3e6, committed by Jaime Bellmyer · August 10th, 2009 @ 06:19 AM

raises an exception on habtm join table inserts if join table contains a primary key. Caches this check to save time on subsequent inserts.

[#2086 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

2 changed files

  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/test/cases/associations/habtm_join_table_test.rb