Basic pundit setup with OrderPolicy on create #25
ci.yml
on: pull_request
Ruby Lint
10s
Rails Test
29s
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.
|