Skip to content

rubocop -a.

rubocop -a. #25

Triggered via push September 9, 2024 12:26
Status Failure
Total duration 3m 50s
Artifacts 1

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint: app/models/author.rb#L6
Rails/UniqueValidationWithoutIndex: Uniqueness validation should have a unique index on the database column.
lint: app/models/author.rb#L8
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
lint: app/models/book_master.rb#L16
Rails/RedundantPresenceValidationOnBelongsTo: Remove explicit presence validation for `ndc_category`.
lint: app/models/book_master.rb#L19
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
lint: app/models/book_stock.rb#L9
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
lint: app/models/book_stock_status.rb#L6
Rails/UniqueValidationWithoutIndex: Uniqueness validation should have a unique index on the database column.
lint: app/models/lending_set.rb#L12
Style/CaseEquality: Avoid the use of the case equality operator `===`.
lint: app/models/lending_set.rb#L17
Style/CaseEquality: Avoid the use of the case equality operator `===`.
lint: app/models/lending_set.rb#L33
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
lint: app/models/lending_status.rb#L6
Rails/UniqueValidationWithoutIndex: Uniqueness validation should have a unique index on the database column.
scan_ruby
Process completed with exit code 3.
test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
screenshots Expired
583 KB