1. 22 Dec, 2017 1 commit
  2. 02 Aug, 2017 1 commit
  3. 16 Jun, 2017 1 commit
    • Yorick Peterse's avatar
      Refactor Project.with_feature_available_for_user · 73bf9413
      Yorick Peterse authored
      This method used to use a UNION, which would lead to it performing the
      same query twice; producing less than ideal performance. Further, in
      certain cases ActiveRecord could get confused and mess up the variable
      bindings, though it's not clear how/why exactly this happens.
      
      Fortunately we can work around all of this by building some of the WHERE
      conditions manually, allowing us to use a simple OR statement to get all
      the data we want without any of the above problems.
      73bf9413
  4. 05 Feb, 2017 1 commit
  5. 26 Jan, 2017 1 commit
  6. 17 Oct, 2016 1 commit
  7. 01 Sep, 2016 1 commit