app/models/person.rb
#the roles defined within the project
the roles defined within the project
the roles defined within the project
def project_positions
    project_positions = []
    group_memberships.each do |gm|
      project_positions = project_positions | gm.project_positions
    end
    project_positions
  end
def project_positions project_positions = [ ] group_memberships . each do | gm | project_positions = project_positions | gm . project_positions end project_positions end
the roles defined within the project
the roles defined within the project