My version of rails is 4.0.0, my version of mysql is Ver 14.14 Distrib 5.7.9, for Win64 (x86_64). I am operating of an older version of rails as I was getting some clashes w
I solved this problem with a Rails app on JRuby I'm working on by upgrading the mysql-adapter.
mysql-adapter
I was using the gem activerecord-jdbcmysql-adapter v1.3.14 and upgraded to v1.3.21
Check your jdbc adapter version before monkey patching a solution.