discourse/lib/discourse_dev
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
..
category.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
config.rb FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
email_log.rb DEV: Convert admin-incoming-email modal to component-based API (#22701) 2023-07-20 16:31:20 -05:00
group.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
post.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
post_revision.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
record.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00
reviewable_flagged_post.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable_post.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
reviewable_queued_post.rb DEV: Populate all subtypes of ReviewableQueuedPost (#30663) 2025-01-09 17:41:11 +03:00
reviewable_user.rb DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
tag.rb DEV: Apply syntax_tree formatting to lib/* 2023-01-09 12:10:19 +00:00
topic.rb DEV: Fix sidekiq requires in test env 2025-07-22 12:40:57 +02:00
user.rb DEV: Populate first and last seen at timestamps. (#17643) 2022-07-25 11:54:43 -03:00