-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
before the query get saved the placeholder for the prepared statement should be replaced by the value. Otherwise postgres is failing with:
Job ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper (id=3597) FAILED (1 prior attempts) with ActionView::Template::Error: PG::ProtocolViolation: ERROR: bind message supplies 0 parameters, but prepared statement "" requires 1
so for example for where clause:
where: '"investments"."project_id" = $1'
should be
where: '"investments"."project_id" = 2'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels