Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 190
    • Issues 190
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • heptapodheptapod
  • heptapodheptapod
  • Repository
Switch branch/tag
  • heptapod
  • rubocop
  • cop
  • gitlab
  • has_many_through_scope.rb
Find file BlameHistoryPermalink
  • Sean McGivern's avatar
    Add cop for has_many :through without disabled autoloading · 67ea32dce287
    Sean McGivern authored Apr 09, 2018
    Goldiloader is great, but has several issues with has_many :through relations:
    
    * https://github.com/salsify/goldiloader/issues/12
    * https://github.com/salsify/goldiloader/issues/14
    * https://github.com/salsify/goldiloader/issues/18
    
    Rather than try to figure out which applies in each case, we should just do the
    drudge work of manually disabling autoloading for all relations of this type. We
    can always use regular preloading for specific cases, but this way we avoid
    generating invalid queries through Goldiloader's magic.
    67ea32dce287