Skip to content

Basic pundit setup with OrderPolicy on create #25

Basic pundit setup with OrderPolicy on create

Basic pundit setup with OrderPolicy on create #25

Triggered via pull request June 1, 2024 18:35
Status Failure
Total duration 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruby Lint: app/controllers/admin/students_controller.rb#L50
Rails/Blank: Use `if fund_amount.blank?` instead of `unless fund_amount.present?`.
Ruby Lint: app/controllers/admin/students_controller.rb#L55
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Ruby Lint: app/controllers/admin/students_controller.rb#L60
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Ruby Lint: app/controllers/admin/students_controller.rb#L60
Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Ruby Lint: app/controllers/classrooms_controller.rb#L2
Layout/SpaceInsidePercentLiteralDelimiters: Do not use spaces inside percent literal delimiters.
Ruby Lint: app/controllers/classrooms_controller.rb#L2
Layout/SpaceInsidePercentLiteralDelimiters: Do not use spaces inside percent literal delimiters.
Ruby Lint: app/controllers/classrooms_controller.rb#L61
Layout/EmptyLinesAroundAccessModifier: Keep a blank line before and after `private`.
Ruby Lint: app/controllers/classrooms_controller.rb#L63
Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
Ruby Lint: app/controllers/classrooms_controller.rb#L63
Layout/IndentationConsistency: Inconsistent indentation detected.
Ruby Lint: app/controllers/classrooms_controller.rb#L68
Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.