Solving errors in mysql adapter missing method to_sym