• Catalin Irimie's avatar
    Fix releases API N+1 in sorted_links usage · 88fb3219
    Catalin Irimie authored
    The preload for N+1 doesn't seem to work with the scoped
    sorted_links. This adds inverse_of to sorted_links, to properly
    preload Release::Link queries that check if a link is external.
    
    Changelog: performance
    88fb3219
releases_spec.rb 37.9 KB