Ruby on Rails Tuesday, October 27, 2015

thank you. Let me check.

On Tue, Oct 27, 2015 at 2:14 PM, Colin Law <clanlaw@gmail.com> wrote:
On 27 October 2015 at 06:37, honey ruby <emailtohoneyruby@gmail.com> wrote:
> 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.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv9CrR_uQ6reRS%2BskLWLLcHMLadP%2BCon14ekuRJbvnpaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOKUzCmjFnDqS1N6DSwS565bG5d3BaFRJSBXA0OdNKuJLDuLgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment