Skip to content

Conversation

@delynn
Copy link

@delynn delynn commented Jul 30, 2025

In a project using Kaminari, I ran into an instance where the select_values for the query included an Arel::Attributes::Attribute for * instead of some kind of Arel::Node, which resulted in a NoMethodError being raised.

I temporarily circumvented this by specifying the id attribute as the column to count, but I figured it would be good to harden the implementation to help others in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant