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
I'm using granite 0.19.0 and there seems to be an issue with group_by or I'm making a mistake somewhere.
If I define a model, I can query it with #all and #order just fine, but #group_by gives me:
Showing last frame. Use--error-trace for full trace.
In src/commands/build/content_loader.cr:28:24
28|putsContentItem.group_by(:published_at)
^-------Error: undefined method 'group_by'forContentItem.class
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm using granite
0.19.0
and there seems to be an issue withgroup_by
or I'm making a mistake somewhere.If I define a model, I can query it with
#all
and#order
just fine, but#group_by
gives me:What am I doing wrong?
The text was updated successfully, but these errors were encountered: