SpeciesFileGroup/taxonworks

View on GitHub
app/models/pinboard_item.rb

Summary

Maintainability
A
0 mins
Test Coverage

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    PinboardItem.where(user_id:, project_id:, pinned_object_type: klass).delete_all
Severity: Minor
Found in app/models/pinboard_item.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      r = PinboardItem.where(project_id:, pinned_object_type:, user_id:).where.not(id:)
Severity: Minor
Found in app/models/pinboard_item.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      r = PinboardItem.where(project_id:, pinned_object_type:, user_id:).where.not(id:)
Severity: Minor
Found in app/models/pinboard_item.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

There are no issues that match your filters.

Category
Status