1. 02 Dec, 2016 2 commits
    • Sean McGivern's avatar
      Save a query on issue and MR lists · 09b1efa5
      Sean McGivern authored
      `any?` on an AR relation performs a `SELECT COUNT`, which we don't need.
      
      1. We are very likely to have issues or MRs, so the `SELECT COUNT` is
         often unnecessary.
      2. Even where there are no items returned, the overhead of the
         `SELECT *` instead of `SELECT COUNT` is relatively small.
      
      Calling `to_a` on the relation lets us use `Enumerable#any?`, which will
      return immediately if there are objects returned.
      09b1efa5
    • Rubén Dávila Santos's avatar
      Merge branch 'expose-add-ons-in-license-api' into 'master' · 726ae97f
      Rubén Dávila Santos authored
      Expose add-ons associated to the license in /license endpoint.
      
      Closes #1286
      
      See merge request !907
      726ae97f
  2. 01 Dec, 2016 11 commits
  3. 30 Nov, 2016 8 commits
  4. 29 Nov, 2016 15 commits
  5. 28 Nov, 2016 4 commits