-
Couldn't load subscription status.
- Fork 21
Open
Description
Hi Team,
I am trying to use custom ordering via the order_by property and I am running into a "column reference is ambiguous" error. The column I am trying to order by is called created_at.
My pagination query joins to multiple tables that all have a created_at column, so that column name is ambiguous if used by itself. I get the following error when trying to paginate with a cursor:
block in tagged - PG::AmbiguousColumn: ERROR: column reference "created_at" is ambiguous
It seems like the gem isn't appending the table name to custom order_by columns, is this the case?
PeaceS, modosc and jeremyhaile
Metadata
Metadata
Assignees
Labels
No labels