aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/explain_subscriber_test.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2017-09-29 18:24:24 -0700
committerJeremy Daer <jeremydaer@gmail.com>2017-10-08 14:47:51 -0700
commit55a2c101b2889710e1591c9adc15e4d5ca7fb126 (patch)
tree5158c40ffb09ac87c51dc1eeaaf92dc88c28b6fc /activerecord/test/cases/explain_subscriber_test.rb
parent7c564d87408ca1e205d34574228d6f981c7571c8 (diff)
downloadrails-55a2c101b2889710e1591c9adc15e4d5ca7fb126.tar.gz
rails-55a2c101b2889710e1591c9adc15e4d5ca7fb126.tar.bz2
rails-55a2c101b2889710e1591c9adc15e4d5ca7fb126.zip
Distinguish missing adapter gems from load errors within the adapter
* When the adapter is missing, raise an exception that points out config typos and missing Gemfile entries. (We can assume that a non-builtin adapter was used since these are always available.) * When loading an adapter raises a LoadError, prefix its error message to indicate that the adapter is likely missing an optional dependency.
Diffstat (limited to 'activerecord/test/cases/explain_subscriber_test.rb')
0 files changed, 0 insertions, 0 deletions