Fix error while migration - #847
Conversation
There was a problem hiding this comment.
Scan Summary
| Tool | Critical | High | Medium | Low | Status |
|---|---|---|---|---|---|
| Dependency Scan (ruby) | 0 | 0 | 1 | 0 | ✅ |
| Security Audit for Infrastructure | 0 | 0 | 0 | 0 | ✅ |
| Shell Script Analysis | 0 | 0 | 0 | 0 | ✅ |
| Secrets Audit | 0 | 25 | 0 | 0 | ❌ |
Recommendation
Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍
| @@ -0,0 +1,8 @@ | |||
| class DashboardEnum < Enumeration | |||
Check notice
Code scanning / Rubocop
Document classes and non-namespace modules.
| @@ -0,0 +1,8 @@ | |||
| class DashboardEnum < Enumeration | |||
Check notice
Code scanning / Rubocop
Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
| @@ -0,0 +1,8 @@ | |||
| class DashboardEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
Check notice
Code scanning / Rubocop
Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
| @@ -0,0 +1,8 @@ | |||
| class DashboardEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
Check notice
Code scanning / Rubocop
Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
| @@ -0,0 +1,8 @@ | |||
| class DashboardEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
| OptionName = :enumeration_dashboard_type | |||
Check notice
Code scanning / Rubocop
Constants should use SCREAMING_SNAKE_CASE.
| @@ -0,0 +1,8 @@ | |||
| class ReportEnum < Enumeration | |||
Check notice
Code scanning / Rubocop
Document classes and non-namespace modules.
| @@ -0,0 +1,8 @@ | |||
| class ReportEnum < Enumeration | |||
Check notice
Code scanning / Rubocop
Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.
| @@ -0,0 +1,8 @@ | |||
| class ReportEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
Check notice
Code scanning / Rubocop
Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
| @@ -0,0 +1,8 @@ | |||
| class ReportEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
Check notice
Code scanning / Rubocop
Checks that block braces have or don't have surrounding space. For blocks taking parameters, checks that the left brace has or doesn't have trailing space.
| @@ -0,0 +1,8 @@ | |||
| class ReportEnum < Enumeration | |||
| scope :default, -> {where(name: 'Default')} | |||
| OptionName = :enumeration_report_type | |||
Check notice
Code scanning / Rubocop
Constants should use SCREAMING_SNAKE_CASE.
No description provided.