-
Notifications
You must be signed in to change notification settings - Fork 124
Rails 4 branch not sorting index page by likes. #68
Comments
Is there a solution for this? Seem to stumbled upon the same issue. Duplicate of #62 Failing test of https://travis-ci.org/twitter/activerecord-reputation-system/jobs/6014002#L232 could be related. |
I never got it fixed. I have a feeling that it might be related to Can Can but I'm not sure. |
@piratebroadcast nope, don't use CanCan here. |
FYI, I have a fork with a Rails 4 branch... all tests are passing and I'm using it on a Rails4 + Ruby 2 application without problems... you can try that and let me know if things are not working there: https://github.com/caiosba/activerecord-reputation-system/tree/rails4 |
Can you reflect that in the readme and tell us specifically how to use your On Mon, Sep 8, 2014 at 4:37 PM, Caio Almeida notifications@github.com
Jesse Waites |
Oh, yes, sure... just did that :) |
Awesome - Thanks!! On Mon, Sep 8, 2014 at 4:51 PM, Caio Almeida notifications@github.com
Jesse Waites |
Im using the Rails 4 branch of this and having issues - I think something is broken. Users can vote, and anyone can see the votes, but the index page does not sort at all. Controller- I'm using Can Can btw, in case that is relevant.
def index
@fonts = Font.find_with_reputation(:likes, :all, {:order => 'likes DESC'})
end
The text was updated successfully, but these errors were encountered: