diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-10-05 20:20:04 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-10-05 20:21:21 +0100 |
commit | 2e9e647fee59d975c9564d96c924d29ffe57f2a2 (patch) | |
tree | ed70277b1e139e88a63a05b967f36e9eb433d4b0 /activesupport/test/multibyte_conformance.rb | |
parent | 64747654ca661d695622c0ad9e33b8d9e6df8048 (diff) | |
download | rails-2e9e647fee59d975c9564d96c924d29ffe57f2a2.tar.gz rails-2e9e647fee59d975c9564d96c924d29ffe57f2a2.tar.bz2 rails-2e9e647fee59d975c9564d96c924d29ffe57f2a2.zip |
Raise an exception on unknown primary key inside AssociationReflection.
An association between two models cannot be made if a relevant key is
unknown, so fail fast rather than generating invalid SQL. Fixes #3207.
Diffstat (limited to 'activesupport/test/multibyte_conformance.rb')
0 files changed, 0 insertions, 0 deletions