sync school categories when merging schools

This commit is contained in:
Jared Cosulich 2019-07-31 09:03:20 -04:00
parent 0b88fa6070
commit 1c305d12b5

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