After upgrading to Ruby 3.0.0 on my local machine, I can go to the console and enter:
User.find(1)
and it returns a user
After pushing to heroku, if I do the same thing, I instead get:
ArgumentError (wrong number of arguments (given 3, expected 1..2))
Anyone got any idea what could be happening differently to cause this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…