Read about our upcoming Code of Conduct on this issue

  1. 16 Jun, 2017 1 commit
    • Yorick Peterse's avatar
      Refactor Project.with_feature_available_for_user · cfe62efd6b28
      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.
      cfe62efd6b28
  2. 15 Jun, 2017 3 commits
  3. 14 Jun, 2017 3 commits
  4. 13 Jun, 2017 3 commits
  5. 12 Jun, 2017 3 commits
  6. 08 Jun, 2017 5 commits
  7. 07 Jun, 2017 5 commits
  8. 06 Jun, 2017 4 commits
  9. 05 Jun, 2017 5 commits
  10. 04 Jun, 2017 1 commit
  11. 03 Jun, 2017 1 commit
  12. 02 Jun, 2017 6 commits