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.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

Changeset [00a5fd3d18ac908af688c5944922cf69c56e850b] by Michael Schuerig

Revision 00a5fd3d18ac908af688c5944922cf69c56e850b, committed by Michael Schuerig · June 26th, 2009 @ 05:52 AM

Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions.

Signed-off-by: Michael Koziarski michael@koziarski.com http://github.com/rails/rails/co...

4 changed files

  • M activerecord/lib/active_record/base.rb
  • M activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
  • M activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
  • M activerecord/test/cases/adapter_test.rb