joshsoftware/kimayaTPN — pull request #2 by khushnaseeb (2013-07-05 10:32:43+00:00)
Title: Development

#bug in patient controller

def patient_count_within_limit
if self.hospital && self.hospital.patients.count > self.hospital.patients_count #bug doesn't work if patients.size is used, :patients.size changed to patients.count
errors.add(:base,"Exceeded no of Patients")
end
end