openaustralia/publicwhip

View on GitHub
app/models/division.rb

Summary

Maintainability
B
5 hrs
Test Coverage
B
86%

Class Division has 41 methods (exceeds 20 allowed). Consider refactoring.
Open

class Division < ApplicationRecord
  # debate_gid is currently used to generate links to debates on openaustralia.org.au. It would be better
  # to use the debate_url field for that. Currently that's completely ignored as it's overridden
  # below.
  # TODO: Do a data migration so that the debate_url field is the openaustralia.org.au url and debate_gid can be removed
Severity: Minor
Found in app/models/division.rb - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status