app/models/studentdb/course.rb
# Returns the count of Students who are enrolled or registered for this class (the same set return by all_enrollees).
Returns the count of Students who are enrolled or registered for this class (the same set return by all_enrollees).
Returns the count of Students who are enrolled or registered for this class ( the same set return by all_enrollees ) .
def all_enrollee_count
    @all_enrollee_count = 0
    @all_enrollee_count += registrants_count
    @all_enrollee_count += course_extra_enrollees.count
  end
def all_enrollee_count @all_enrollee_count = 0 @all_enrollee_count += registrants_count @all_enrollee_count += course_extra_enrollees . count end
Returns the count of Students who are enrolled or registered for this class (the same set return by all_enrollees).
Returns the count of Students who are enrolled or registered for this class ( the same set return by all_enrollees ) .