aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@gmail.com>2015-07-11 15:22:30 -0300
committerDavid Rodríguez <deivid.rodriguez@gmail.com>2015-07-11 15:51:51 -0300
commitf48dc782167fea0a1f13759ed6596a004dd746f3 (patch)
tree5b0caf96c13b55bdd0f7a2e1e627bd12dd4fe0ed /activerecord/test
parent14354f195540954a1dfc5c954d06389c9f71e986 (diff)
downloadrails-f48dc782167fea0a1f13759ed6596a004dd746f3.tar.gz
rails-f48dc782167fea0a1f13759ed6596a004dd746f3.tar.bz2
rails-f48dc782167fea0a1f13759ed6596a004dd746f3.zip
Fix undefined method error on exception
The `error` method is not defined, in general, for exceptions. Instead, print the exception message. This error was hiding actual meaningful DB configuration errors. See http://stackoverflow.com/questions/18774463.
Diffstat (limited to 'activerecord/test')
0 files changed, 0 insertions, 0 deletions