update school_categories after merging schools

This commit is contained in:
Jared Cosulich 2019-01-14 12:07:31 -05:00
parent 65b4df47c2
commit 075e0afe33

View file

@ -48,7 +48,7 @@ class School < ApplicationRecord
reload
user_schools.update_all(school_id: school.id)
# school.school_categories.map(&:sync_aggregated_responses)
school.school_categories.map(&:sync_aggregated_responses)
destroy
end