GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

  1. 06 Jul, 2017 2 commits
    • Yorick Peterse's avatar
      Rename ActiverecordSerialize cop · e1a3bf30
      Yorick Peterse authored
      This cop has been renamed to ActiveRecordSerialize to match the way
      "ActiveRecord" is usually written.
      e1a3bf30
    • Yorick Peterse's avatar
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse authored
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
  2. 05 Jul, 2017 1 commit
  3. 21 Jun, 2017 1 commit
  4. 15 Jun, 2017 1 commit
  5. 14 Jun, 2017 1 commit
  6. 13 Jun, 2017 1 commit
  7. 07 Jun, 2017 2 commits
  8. 31 May, 2017 1 commit
  9. 29 May, 2017 1 commit
  10. 28 Apr, 2017 2 commits
  11. 06 Apr, 2017 1 commit
  12. 07 Mar, 2017 1 commit
  13. 01 Mar, 2017 1 commit
    • Sean McGivern's avatar
      Add RuboCop cop for custom error classes · 8dd097a9
      Sean McGivern authored
      From the Ruby style guide:
      
          # bad
          class FooError < StandardError
          end
      
          # okish
          class FooError < StandardError; end
      
          # good
          FooError = Class.new(StandardError)
      
      This cop does that, but only for error classes (classes where the
      superclass ends in 'Error'). We have empty controllers and models, which
      are perfectly valid empty classes.
      8dd097a9
  14. 10 Feb, 2017 1 commit
    • Yorick Peterse's avatar
      Enforce use of add_concurrent_foreign_key · 766060bc
      Yorick Peterse authored
      This adds a Rubocop rule to enforce the use of
      add_concurrent_foreign_key instead of the regular add_foreign_key
      method. This cop has been disabled for existing migrations so we don't
      need to change those.
      766060bc
  15. 09 Feb, 2017 1 commit
  16. 08 Feb, 2017 1 commit