Hack for Rails 4 MySQL support