discourse/plugins/discourse-post-voting/spec
Jarek Radosz a54e3208cb
DEV: Hand-pick Rails/WhereNot autofixes (#35117)
We can't enable `Rails/WhereNot` lint/autofix, because it would break
code that uses mini_sql instead of AR (which rubocop, and tbh also we,
can't easily differentiate)

Those are safe because they either:
* are executed in AR model scope definitions
* are clearly chained starting from a AR model
* are less-clearly chained, but still can be traced to a AR model/scope

---------

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2025-10-03 13:29:22 +02:00
..
components/post_voting DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
fabricators
lib DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
models DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
requests DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
serializers DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
system
plugin_helper.rb