SpeciesFileGroup/taxonworks

View on GitHub
app/models/georeference.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  validates :type, presence: true # TODO: technically not needed
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: Should be in lib/utilities/geo.rb.
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: Arelize
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: not yet sure what the params are going to look like. what is below just represents a guess
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: parametrize to include gazeteer
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: cleanup, subclass, and calculate with SQL?
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  # TODO: or, (in the future) a string matching a geographic_area.name
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

  #   !! We assume the radius calculation is always larger (TODO: do we?  discuss with Jim)
Severity: Minor
Found in app/models/georeference.rb by fixme

TODO found
Open

            # !! TODO: check fir nil case
Severity: Minor
Found in app/models/georeference.rb by fixme

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

    partials = CollectingEvent.where(geographic_area:)
Severity: Minor
Found in app/models/georeference.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