Sha256: 421817e9179241f7d0fc055687258f099c8b582c5fdc62f620c8b15d74834bf3
Contents?: true
Size: 525 Bytes
Versions: 6
Compression:
Stored size: 525 Bytes
Contents
<% fcsv_options = { :row_sep => "\n", :col_sep => params[:delimiter], :force_quotes => @export_config.force_quotes, :headers => @export_columns.collect { |column| format_export_column_header_name(column) } } data = FasterCSV.generate(fcsv_options) do |csv| csv << fcsv_options[:headers] unless params[:skip_header] == 'true' @records.each do |record| csv << @export_columns.collect { |column| get_export_column_value(record, column) } end end -%><%= data.html_safe -%>
Version data entries
6 entries across 6 versions & 1 rubygems