SpeciesFileGroup/taxonworks

View on GitHub
app/models/extract.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  # Downstresm - aliases of `derived_*`, TODO: remove
Severity: Minor
Found in app/models/extract.rb by fixme

TODO found
Open

  # TODO: make loanable
Severity: Minor
Found in app/models/extract.rb by fixme

TODO found
Open

          # TODO fix biological_collection_object_id transition scoping
Severity: Minor
Found in app/models/extract.rb by fixme

TODO found
Open

  # Upstream - aliases of `origin_otus` and `origin_collection_objects` TODO remove
Severity: Minor
Found in app/models/extract.rb by fixme

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

      h[:recent] = Extract.where(project_id:, updated_by_id: user_id).order('updated_at DESC').limit(10).to_a
Severity: Minor
Found in app/models/extract.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

      h[:quick] = Extract.pinned_by(user_id).pinboard_inserted.where(project_id:).to_a
Severity: Minor
Found in app/models/extract.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 tRCURLY (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    }
Severity: Minor
Found in app/models/extract.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

      h[:quick] = (Extract.pinned_by(user_id).pinboard_inserted.where(project_id:).to_a  +
Severity: Minor
Found in app/models/extract.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

      pinboard: Extract.pinned_by(user_id).where(project_id:).to_a,
Severity: Minor
Found in app/models/extract.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