Replies: 1 comment 1 reply
-
You're probably looking for the eager_each plugin. We've used it a previous company and it solved this problem for us 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Forgetting to chain
.all
before.each
when eager loading is one of the most common issues I encounter when reviewing or diagnosing issues newer teammates' Sequel code.I did some quick searches and haven't found any plugin or option to raise an exception if
.each
is called without.all
, or a rubocop rule.Is that something that could be supported technically? Are you open to it? Any tips on how to implement?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions