Showing data in one cell of csv but in line

Hi all,

I have to show data in csv in one cell but in new line.
eg: 2015 xyz
2014 abc

How can I show this way using csv in rails. am using faster csv.


It depends what you want to do with the csv. It may be that
generating something like
"a","b","2015 xyz
2014 abc","c"
might work, but it will depend on whether the s/w you are feeding the
csv into will accept that format.

You can experiment by generating some files by hand to see if it is ok.


thank you. Let me check.