Query Method Called With Non Attribute Arguments

[Solved] Query Method Called With Non Attribute Arguments | Vb - Code Explorer | yomemimo.com
Question : Query method called with non-attribute argument(s)

Answered by : benedict-ouma

# Add Arel.sql() around your SQL Query
# eg
.order(Arel.sql('sum(table.column_x + table.column_y)'))

Source : | Last Update : Mon, 10 Oct 22

Answers related to query method called with non attribute arguments

Code Explorer Popular Question For Vb