long lines in csv reports

Developer from somewhere

If you have some CSV files with lines longer than 990 chars, you may notice that the lines get splitted. The fix is described here

attachments['file.csv']= { :data=> ActiveSupport::Base64.encode64(@string), :encoding => 'base64' }