Executing this yields the error: ActiveRecord::PreparedStatementInvalid (missing value for :alnum in SELECT) In other words, Rails thinks that :alnum is a named placeholder. But it isn’t, it’s a PostgreSQL ‘s keyword, so my question is: How can I use named placeholders in queries and PSQL’s :alnum: at the same time?
https://www.reddit.com/r/rails/comments/twf569/using_named_placeholders_in_queries_and_psqls/



