Deal with Rails 4 putting MySQL in strict mode