ruby 会议报告
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ruby 会议报告相关的知识,希望对你有一定的参考价值。
#Reporte de meetings para un evento.
I18n.locale = :es
results = []
results << ['Fecha', "Hora", "Locacion", "Anfitrion", "Participante"]
c = BusinessConference.find(526)
c.business_conference_meetings.where(status: 2).each do |m|
start = m.start_date
final = m.end_date
date = start.strftime("%d/%m/%Y")
slot = "#{start.strftime('%r')} - #{final.strftime('%r')}"
participant = m.participant.attendee.full_name
host = m.host.attendee.full_name
results << [date, slot, m.location, "#{m.host.profile_display_name}(#{host})", "#{m.participant.profile_display_name}(#{participant})"]
end
以上是关于ruby 会议报告的主要内容,如果未能解决你的问题,请参考以下文章
ruby 网络会议加载
ruby 在不同的插槽中重新分配会议
ruby 报告评估台面
ruby 大量消息报告
ruby 参展商简介报告
ruby 每位参加者的发票报告