1. 09 Jul, 2018 1 commit
  2. 22 Jun, 2018 1 commit
  3. 20 Jun, 2018 1 commit
    • Bob Van Landuyt's avatar
      Add a cop for `FinderMethods` · f3f1df14
      Bob Van Landuyt authored
      This notifies developers when calling `find(_by!)` chained on
      `execute`. And suggests using the methods from `FinderMethods`. These
      will perform the correct authorization checks on the resource when it
      is found.
      f3f1df14
  4. 19 Jun, 2018 1 commit
    • Sean McGivern's avatar
      Disallow methods that copy data on large tables · eb086a4b
      Sean McGivern authored
      {change_column_type,rename_column}_concurrently both copy data from one column
      to another during a migration, which should not be done on GitLab.com. Instead,
      we should use background migrations.
      eb086a4b
  5. 29 May, 2018 1 commit
  6. 23 Apr, 2018 1 commit
  7. 18 Apr, 2018 2 commits
  8. 09 Apr, 2018 1 commit
  9. 06 Apr, 2018 1 commit
  10. 21 Mar, 2018 1 commit
  11. 08 Mar, 2018 1 commit
  12. 31 Jan, 2018 1 commit
  13. 12 Jan, 2018 1 commit
  14. 11 Jan, 2018 1 commit
  15. 26 Dec, 2017 1 commit
  16. 22 Dec, 2017 1 commit
  17. 13 Dec, 2017 1 commit
  18. 11 Dec, 2017 1 commit
    • Sean McGivern's avatar
      Add cop for use of remove_column · 1ab33b15
      Sean McGivern authored
      remove_column should only be used in the up (or change) step of a migration if
      it's a post-deployment migration. Otherwise there will be downtime due to the
      ActiveRecord column cache, which we can avoid by using the IgnorableColumn
      concern in combination with a post-deployment migration.
      1ab33b15
  19. 22 Nov, 2017 2 commits
  20. 21 Nov, 2017 1 commit
  21. 17 Nov, 2017 3 commits
  22. 16 Nov, 2017 1 commit
  23. 21 Oct, 2017 1 commit
  24. 18 Oct, 2017 1 commit
  25. 10 Oct, 2017 1 commit
  26. 07 Oct, 2017 1 commit
    • jacopo's avatar
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      jacopo authored
      Replaces all the explicit include metadata syntax in the specs (tag:
      true) into the implicit one (:tag).
      Added a cop to prevent future errors and handle autocorrection.
      0ce67858
  27. 18 Sep, 2017 2 commits
  28. 14 Aug, 2017 1 commit
  29. 01 Aug, 2017 1 commit
  30. 26 Jul, 2017 1 commit
  31. 14 Jul, 2017 1 commit
  32. 07 Jul, 2017 2 commits
    • Yorick Peterse's avatar
      Added EachBatch for iterating tables in batches · ff78af15
      Yorick Peterse authored
      This module provides a class method called `each_batch` that can be used
      to iterate tables in batches in a more efficient way compared to Rails'
      `in_batches` method. This commit also includes a RuboCop cop to
      blacklist the use of `in_batches` in favour of this new method.
      ff78af15
    • Yorick Peterse's avatar
      Added EachBatch for iterating tables in batches · 5f9c8458
      Yorick Peterse authored
      This module provides a class method called `each_batch` that can be used
      to iterate tables in batches in a more efficient way compared to Rails'
      `in_batches` method. This commit also includes a RuboCop cop to
      blacklist the use of `in_batches` in favour of this new method.
      5f9c8458
  33. 06 Jul, 2017 2 commits