Recaptcha disable flag + null order fix #9505
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (2)
app/controllers/registrations_controller.rb|26 col 35| Move locale texts to the locale files in the config/locales
directory.
app/presenters/convention_reports_presenter.rb|23 col 14| Use where.not(product_id: nil)
instead of manually constructing negated SQL in where
.
Filtered Findings (0)
Annotations
Check notice on line 26 in app/controllers/registrations_controller.rb
github-actions / rubocop
[rubocop] app/controllers/registrations_controller.rb#L26 <Rails/I18nLocaleTexts>
Move locale texts to the locale files in the `config/locales` directory.
Raw output
app/controllers/registrations_controller.rb:26:35: C: Rails/I18nLocaleTexts: Move locale texts to the locale files in the `config/locales` directory.
Check notice on line 23 in app/presenters/convention_reports_presenter.rb
github-actions / rubocop
[rubocop] app/presenters/convention_reports_presenter.rb#L23 <Rails/WhereNot>
Use `where.not(product_id: nil)` instead of manually constructing negated SQL in `where`.
Raw output
app/presenters/convention_reports_presenter.rb:23:14: C: Rails/WhereNot: Use `where.not(product_id: nil)` instead of manually constructing negated SQL in `where`.