SpeciesFileGroup/taxonworks

View on GitHub
app/models/project_source.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

          ProjectSource.where(project_id: , source_id: s.id).delete_all
Severity: Minor
Found in app/models/project_source.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

            ProjectSource.create!(source_id: s.id, project_id:)
Severity: Minor
Found in app/models/project_source.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

          ProjectSource.where(project_id: , source_id: s.id).delete_all
Severity: Minor
Found in app/models/project_source.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.

class definition in method body (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

class ProjectSource < ApplicationRecord
Severity: Minor
Found in app/models/project_source.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