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

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

raises exception (ActiveRecord::ConfigurationError with message) on habtm association creation if join table contains a primary key

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

7 changed files

  • A activerecord/test/cases/associations/habtm_join_table_test.rb
  • M activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
  • M activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
  • M activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
  • M activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
  • M activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
  • M activerecord/test/cases/pk_test.rb