• Gabriel Mazetto's avatar
    Reduce N+1 from Activity Dashboard and Banzai · 4f5abe43
    Gabriel Mazetto authored
    There is a combination of few strategies implemented here:
    
    1. Few relations were eager loaded
    2. Changed few polymorphic routes to specific ones so we don't have to
       use `#becomes(Namespace)` which doesn't preserve association cache
    4f5abe43
note.rb 13.5 KB