aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
diff options
context:
space:
mode:
authorSteve Jorgensen <stevej@renewfund.com>2012-05-21 09:50:29 -0700
committerJon Leighton <j@jonathanleighton.com>2013-03-20 10:09:54 +0000
commitbe913c3964069fa9ff7c8a615e06705e3a6ec435 (patch)
tree60d25e13663a30584a417959a0e365b2a87ecfe3 /activerecord/test/cases/finder_test.rb
parent517060ab59c383f912c1be838a6d36afb128288f (diff)
downloadrails-be913c3964069fa9ff7c8a615e06705e3a6ec435.tar.gz
rails-be913c3964069fa9ff7c8a615e06705e3a6ec435.tar.bz2
rails-be913c3964069fa9ff7c8a615e06705e3a6ec435.zip
Don't crash exception translation w/ nil result attribute.
Exception.result is nil when attempting a query after PostgreSQL disconnect, resulting in new exception: NoMethodError: undefined method `error_field' for nil:NilClass
Diffstat (limited to 'activerecord/test/cases/finder_test.rb')
0 files changed, 0 insertions, 0 deletions