aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/fixtures_test.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-10-05 20:20:04 +0100
committerJon Leighton <j@jonathanleighton.com>2011-10-05 20:21:21 +0100
commit2e9e647fee59d975c9564d96c924d29ffe57f2a2 (patch)
treeed70277b1e139e88a63a05b967f36e9eb433d4b0 /activerecord/test/cases/fixtures_test.rb
parent64747654ca661d695622c0ad9e33b8d9e6df8048 (diff)
downloadrails-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 'activerecord/test/cases/fixtures_test.rb')
0 files changed, 0 insertions, 0 deletions