I\'m using a ruby application to query data using activerecord and mysql2 gems. A simple query like User.find_by(id: 1) returns an error You have an error
User.find_by(id: 1)
You have an error