Reputation: 7301
According to Heroku docs all that you're supposed to do is to disable prepared statements (LINK) - hence the two questions in the title, because it is my understanding it is one and the same issue,
and with Rails you'd do something like THIS
but I'm having a hard time understanding explicitly how it works in Sequel - if Sequel even uses prepared statements by default - or if it's dependent on the driver used, and if it uses them because it's configured that way - how to tell it's using them,
and it seems like I'll have to "test in production" (on a small customer set) because of current project constraints - so I'd like to know as much as possible about how to set up Sequel and what the possible ramifications could be.
As far as I can tell - the only thing that I need to do is make sure that Sequel doesn't use prepared statements, how do I do this?
Upvotes: 1
Views: 103
Reputation: 3662
It looks like with sequel, prepared statements are created explicitly by the developer. You use prepare to create the prepared statement, and then later call
with the values you want to use
Upvotes: 1