mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
parent
0894d9ec29
commit
232cc249d4
11 changed files with 193 additions and 147 deletions
|
|
@ -205,11 +205,11 @@ class Event < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def speaker_names
|
||||
result = []
|
||||
result = Set.new
|
||||
speakers.each do |speaker|
|
||||
result.push(speaker.name)
|
||||
result.add(speaker.name)
|
||||
end
|
||||
result.to_sentence
|
||||
result.to_a.to_sentence
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue