This project is archived and is in readonly mode.

Changeset [9d51f6286680b832b0df5e3ce288575214c1de59] by Jaime Bellmyer

August 10th, 2009 @ 06:20 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

Committed by Jaime Bellmyer

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>