You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
Given your example Person.where("data ? 'foo'"), how would one rewrite that to use a bound variable? Person.where("data \? ?") results in ActiveRecord::PreparedStatementInvalid: wrong number of bind variables (1 for 2).
The text was updated successfully, but these errors were encountered:
Given your example
Person.where("data ? 'foo'")
, how would one rewrite that to use a bound variable?Person.where("data \? ?")
results inActiveRecord::PreparedStatementInvalid: wrong number of bind variables (1 for 2)
.The text was updated successfully, but these errors were encountered: