Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 95959
BY: James Gray (bbazzarrakk)
DATE: 2011-02-15 23:37
SUBJECT: RE: File Upload Help

 

pos() is only used to auto-guess the line endings. It looks like the Rails wrapper doesn't support it.

You should be able to set the endings manually to get around this. Just add a :row_sep => "\n" (or "\r\n") to the end of your call to FCSV.new().

Hope that helps.


Thread View

Thread Author Date
File Upload HelpCaleb Johnson2011-02-15 22:58
      RE: File Upload HelpJames Gray2011-02-15 23:37
      RE: File Upload HelpCaleb Johnson2011-02-15 23:55
            RE: File Upload HelpJames Gray2011-02-16 04:04
                  RE: File Upload HelpCaleb Johnson2011-02-16 04:15

Post a followup to this message