app/models/district.rb
Class District
has 39 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class District < ActiveRecord::Base
# ActiveSupport::Dependencies.load_missing_constant self, :StudentsController
SETTINGS = [:key, :previous_key, :custom_interventions ]
BOOLEAN_SETTINGS = [:restrict_free_lunch, :forgot_password, :lock_tier, :email_on_team_consultation_response, :show_team_consultations_if_pending]
File district.rb
has 255 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class District < ActiveRecord::Base
# ActiveSupport::Dependencies.load_missing_constant self, :StudentsController
SETTINGS = [:key, :previous_key, :custom_interventions ]
BOOLEAN_SETTINGS = [:restrict_free_lunch, :forgot_password, :lock_tier, :email_on_team_consultation_response, :show_team_consultations_if_pending]