openaustralia/publicwhip

View on GitHub
app/models/member.rb

Summary

Maintainability
A
3 hrs
Test Coverage
B
82%

Class Member has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

class Member < ApplicationRecord
  # TODO: Remove source_gid from schema as it's not being used (but still loaded by the loaders)
  searchkick index_name: "tvfy_members_#{Settings.stage}"
  has_one :member_info, dependent: :destroy
  delegate :rebellions, :votes_attended, :votes_possible, :tells, to: :member_info, allow_nil: true
Severity: Minor
Found in app/models/member.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status