diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-15 09:20:43 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-15 09:20:44 -0200 |
commit | e709134214571d27cf2872a38c998a0e7bbc71f8 (patch) | |
tree | f36ebb7f5eb9df32a93b70de7d3e7e5c1814b34b /activerecord/test/cases/nested_attributes_test.rb | |
parent | 5d06f8a0a543bab761a72bb9a16cfedf3ae13f04 (diff) | |
download | rails-e709134214571d27cf2872a38c998a0e7bbc71f8.tar.gz rails-e709134214571d27cf2872a38c998a0e7bbc71f8.tar.bz2 rails-e709134214571d27cf2872a38c998a0e7bbc71f8.zip |
Improve mysql database tasks handling to ensure we always rescue from an exception
We were previously rescuing "nil" when no exception class was found.
This does work in 1.9.3, but does not in 2.0, raising an exception
asking for a class or module to be given to the rescue clause.
Thanks @yahonda for catching this.
Diffstat (limited to 'activerecord/test/cases/nested_attributes_test.rb')
0 files changed, 0 insertions, 0 deletions