diff --git a/app/models/university/with_education.rb b/app/models/university/with_education.rb index 6021cc2fc2f8805cfb56300be640853a0faf3f64..95b2d605b02dcbfa2fc723b00573f8804211766d 100644 --- a/app/models/university/with_education.rb +++ b/app/models/university/with_education.rb @@ -21,10 +21,5 @@ module University::WithEducation class_name: 'Education::AcademicYear', dependent: :destroy alias_attribute :academic_years, :education_academic_years - - has_many :university_person_alumni, - through: :education_cohorts, - source: :people - alias_attribute :alumni, :university_person_alumni end end diff --git a/app/models/university/with_people_and_organizations.rb b/app/models/university/with_people_and_organizations.rb index 2b384aa9a86527cd58e67fcc4f26d2e5ad9bac86..ad18670f9ec33a65633aeeababacedfa66545254 100644 --- a/app/models/university/with_people_and_organizations.rb +++ b/app/models/university/with_people_and_organizations.rb @@ -22,9 +22,5 @@ module University::WithPeopleAndOrganizations dependent: :destroy alias_attribute :person_alumnus_imports, :university_person_alumnus_imports alias_attribute :alumnus_imports, :university_person_alumnus_imports - - has_many :university_person_experiences, - class_name: "University::Person::Experience", - dependent: :destroy end end