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
{{ message }}
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.
I'm trying to order a big array by reputation using the ActiveRecordReputation gem.
Is it possible?
I have a model call Microposts, It has a reputation system called :votes.
Those microposts belongs to other model call Group and a User have many groups.
I need to get all the microposts of the groups that the User is suscribe and order it by reputation.
I get a big array of microposts like this:
@microposts = Micropost.joins(:group => :users).where(:users => {id: current_user.id})
But it stil missing the reputation order.
I hope you can help me!
The text was updated successfully, but these errors were encountered: