app/dao/swimmer_stats_dao.rb
# Swimmer linked team names
# Collect team decorator linked name for each distinct team red from result's badges
#

Swimmer linked team names
Collect team decorator linked name for each distinct team red from result's badges
Swimmer linked team names Collect team decorator linked name for each distinct team red from result ' s badges
def find_linked_team_names
    linked_list = ""
    list = []
    @mirs.collect{ |mir| mir.team_id }.uniq.each do |team_id|
      list.append( Team.find(team_id).decorate.get_linked_name )
    end
    linked_list = list.join(', ')
    linked_list
  end
def find_linked_team_names linked_list = "" list = [ ] @mirs . collect { | mir | mir . team_id } . uniq . each do | team_id | list . append ( Team . find ( team_id ) . decorate . get_linked_name ) end linked_list = list . join ( ', ' ) linked_list end
Swimmer linked team names
Collect team decorator linked name for each distinct team red from result's badges
Swimmer linked team names Collect team decorator linked name for each distinct team red from result ' s badges