Trying to sort gem versions by downloads fails because joins don’t work on associations with dynamic conditions.
https://github.com/rubygems/rubygems.org/blob/master/app/models/version.rb#L6 …
-
-
That’s what I assumed too. See https://github.com/rubygems/rubygems.org/commit/66765d45a4472fb458bf9fa47a83f092941a5016#commitcomment-19480753 … for context. It needs to join on both version_id and rubygem_id.
-
version_download = 0 seems like a really dirty hack to me.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.