gauge/app/views/home/_talk_preference.csv.erb

2 lines
164 B
Plaintext

<%= CSV.generate_line([talk_preference.hashed_unique_id, talk_preference.created_at] + @talks.map(&:id).map { |talk| talk_preference.include? talk }).html_safe -%>