Ordering of gems in profile

toy_toy's Avatar

toy_toy

17 Jan, 2012 06:38 PM

Gems are out of order by total downloads.

  1. 1 Posted by toy_toy on 23 Jan, 2012 07:07 AM

    toy_toy's Avatar

    Any help? I am getting this problem for example on my profile page.

  2. 2 Posted by toy_toy on 18 Feb, 2012 09:55 PM

    toy_toy's Avatar

    Anyone? It is frustrating, no answer for already on month!

  3. Support Staff 3 Posted by Evan Phoenix on 21 Feb, 2012 01:00 AM

    Evan Phoenix's Avatar

    They appear to be ordered by total downloads and are correct when I look at the page. What are you seeing?

  4. 4 Posted by toy_toy on 21 Feb, 2012 01:31 AM

    toy_toy's Avatar

    First 5:

    progress 2.4.0               15,312 downloads
    sdoc_all 1.3.3                9,198 downloads
    image_size 1.0.6             10,684 downloads
    random_text 1.1.0             6,846 downloads
    fspath 2.0.3                  7,214 downloads
    

    It seems that ordering just frozen some time ago.

  5. 5 Posted by toy_toy on 29 Feb, 2012 07:21 PM

    toy_toy's Avatar

    Anyone alive?

  6. Support Staff 6 Posted by Luis Lavena on 29 Feb, 2012 07:27 PM

    Luis Lavena's Avatar

    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.

  7. Luis Lavena closed this discussion on 29 Feb, 2012 07:27 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM