I've added an index action for the microposts controller in order to create a view which has a list of all microposts. I've incorporated the Active Record Reputation System gem from a Railscast I watched and am trying to sort my microposts index by # of votes. Everything works except sorting by votes. I think it has something to do with the scope but I haven't been able to wrap my head around it.
Here is the question with more details on stack
http://stackoverflow.com/questions/22617224/using-active-record-reputation-system-gem-no-sorting-happens-when-i-sort-by-vot
Looks like you were able to figure it out then.
Unfortunately, it seems like we can’t really get help in this sub, since it’s mostly others who are also learning that are visiting the sub.
I just started Hartl’s course last night after having to take a month off after doing the course at railsapps.github.io