• Rubén Dávila's avatar
    Optimize SQL queries used in Groups::GroupMembersController#create · 66cfb901
    Rubén Dávila authored
    The following optimizations were performed:
    
    - Add new association to GroupMember and ProjectMember
    
      This new association will allow us to check if a user is a member of a
      Project or Group through a single query instead of two.
    
    - Optimize retrieving of Members when adding multiple Users
    66cfb901
member.rb 10.6 KB