The constructor for ActiveRecord::MismatchedForeignKey was being incorrectly called and was failing. This PR fixes the constructor. Also added the connection pool as a parameter when errors are being translated.
CI passing against Rails SHA 0b3320bcd5e705302b5707bcf27a80537b812c1f.
The constructor for
ActiveRecord::MismatchedForeignKey
was being incorrectly called and was failing. This PR fixes the constructor. Also added the connection pool as a parameter when errors are being translated.CI passing against Rails SHA
0b3320bcd5e705302b5707bcf27a80537b812c1f
.