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

2 lines
164 B
Plaintext
Raw Normal View History

2015-10-13 14:34:45 +03:00
<%= CSV.generate_line([talk_preference.hashed_unique_id, talk_preference.created_at] + @talks.map(&:id).map { |talk| talk_preference.include? talk }).html_safe -%>