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
The problem is that will_paginate generate DISTINCT pages.* which load all. Is there a way to specify the column to use for the DISCTINCT ? I could not find anything on the Net or reading the source code.
I know that this problem can be solved by extracting out this large column out of the table but this out of the possibility now because many ( good and bad ) internal reasons.
The text was updated successfully, but these errors were encountered:
I have a model Page with a number of column one of which is a column containing very big entry
Therefore i want to specify the select clause in order to exclude this column ( for obvious performance reason )
Generates
The problem is that will_paginate generate DISTINCT
pages
.* which load all. Is there a way to specify the column to use for the DISCTINCT ? I could not find anything on the Net or reading the source code.I know that this problem can be solved by extracting out this large column out of the table but this out of the possibility now because many ( good and bad ) internal reasons.
The text was updated successfully, but these errors were encountered: