This project is archived and is in readonly mode.
Changeset [78790e47b8603917e2f2352f973a2de7769cb74b] by Jeremy Kemper
Revision 78790e47b8603917e2f2352f973a2de7769cb74b,
committed by Jeremy Kemper
· November 23rd, 2009 @ 06:42 PM
Revert "Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted.""
This reverts commit 2b82708b0efb3a3458e8177beab58f0c585788ae.
[#3128 state:resolved]
Conflicts:
activerecord/lib/active_record/associations.rb
activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
http://github.com/rails/rails/commit/78790e47b8603917e2f2352f973a2d...
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