app/models/etd.rb
# Assign an admin_set based on what is returned by #determine_admin_set
# @return [AdminSet]
Assign an admin_set based on what is returned by #determine_admin_set
Assign an admin_set based on what is returned by #determine_admin_set
def assign_admin_set(school = self.school, department = self.department)
    as = AdminSet.where(title_sim: determine_admin_set(school, department)).first
    self.admin_set = as
    as
  end
def assign_admin_set ( school = self . school , department = self . department ) as = AdminSet . where ( title_sim : determine_admin_set ( school , department ) ) . first self . admin_set = as as end
Assign an admin_set based on what is returned by #determine_admin_set
Assign an admin_set based on what is returned by #determine_admin_set
None
AdminSet
school
<not_specific>
department
<not_specific>