app/models/organizations/organization_contact.rb
# Returns true if this contact is a supervisor for any positions with placed students in the specified quarter
Returns true if this contact is a supervisor for any positions with placed students in the specified quarter
Returns true if this contact is a supervisor for any positions with placed students in the specified quarter
def active_supervisor_for?(quarter = Quarter.current_quarter)
    supervised_positions.each do |p|
      return true if !p.placements.filled.empty? && p.quarter == quarter
    end
    false
  end
def active_supervisor_for? ( quarter = Quarter . current_quarter ) supervised_positions . each do | p | return true if ! p . placements . filled . empty? && p . quarter == quarter end false end
Returns true if this contact is a supervisor for any positions with placed students in the specified quarter
Returns true if this contact is a supervisor for any positions with placed students in the specified quarter
quarter
current_quarter