Ordering of gems in profile
Gems are out of order by total downloads.
Comments are currently closed for this discussion. You can start a new one.
Gems are out of order by total downloads.
Comments are currently closed for this discussion. You can start a new one.
2 Posted by toy_toy on 23 Jan, 2012 07:07 AM
Any help? I am getting this problem for example on my profile page.
3 Posted by toy_toy on 18 Feb, 2012 09:55 PM
Anyone? It is frustrating, no answer for already on month!
Support Staff 4 Posted by Evan Phoenix on 21 Feb, 2012 01:00 AM
They appear to be ordered by total downloads and are correct when I look at the page. What are you seeing?
5 Posted by toy_toy on 21 Feb, 2012 01:31 AM
First 5:
It seems that ordering just frozen some time ago.
6 Posted by toy_toy on 29 Feb, 2012 07:21 PM
Anyone alive?
Support Staff 7 Posted by Luis Lavena on 29 Feb, 2012 07:27 PM
toy_toy:
RubyGems.org and help.rubygems.org are provided by a few users to support the community.
It is not financially backed by any company and contributions are welcome.
Seems you spotted a bug, oh dear.
Here is the repository with instructions to clone and build locally:
https://github.com/rubygems/rubygems.org
Here is the controller:
https://github.com/rubygems/rubygems.org/blob/master/app/controller...
And here is the method that seems is not doing the right thing:
https://github.com/rubygems/rubygems.org/blob/master/app/models/use...
Which is using by_downloads scope:
https://github.com/rubygems/rubygems.org/blob/master/app/models/rub...
Knock yourself out.
Patches are welcome.
Luis Lavena closed this discussion on 29 Feb, 2012 07:27 PM.