AR dont work with mysql2 0.4 version
AR dont work with mysql2 0.4 version

AR fixed that on
https://github.com/rails/rails/commit/2dfff4d31634d669f4c198c4fb85b59d39477862

which will be on AR 4.2.5+

basecamp/marginalia