Closed kinitawowi closed 2 years ago
Hey @kinitawowi, thanks for reporting. I'm not sure how to reproduce the first one. For the second, you can change {value}
to {value}::text
, but will try to find a way to get it working again without casting (this is related to #392).
Thanks for the info, unfortunately adding the cast changes the second error back to the first one!!
It looks like bind parameters are silently ignored with Active Record < 6.1 when prepared statements are disabled. The commit above should fix it. Thanks again for reporting.
That's fixed for me, thanks...
After upgrading to 2.6.1, queries on our postgres db with variables now return errors.
The two primary errors observed are:
And..
Environment: