<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Parsing CSV files sent via form post in Ruby on Rails</title>
	<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90</link>
	<description>My Ruby on Rails experience, web development tips including SEO, and contributions to open source projects</description>
	<pubDate>Wed, 07 Jan 2009 18:45:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: admin</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1341</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 03 Aug 2007 21:01:56 +0000</pubDate>
		<guid>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1341</guid>
		<description>[source:ruby]

&lt; %= start_form_tag ({:action=&gt; "import"}, :multipart =&gt; true)%&gt;
 File to import: &lt; %= file_field 'dump', 'file' %&gt;
 &lt; %= submit_tag "Import" %&gt;
&lt; %= end_form_tag %&gt;

[/source]

Sorry for the delay.</description>
		<content:encoded><![CDATA[<p>[source:ruby]</p>
<p>< %= start_form_tag ({:action=> &#8220;import&#8221;}, :multipart => true)%><br />
 File to import: < %= file_field 'dump', 'file' %><br />
 < %= submit_tag "Import" %><br />
< %= end_form_tag %></p>
<p>[/source]</p>
<p>Sorry for the delay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HaPK</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1308</link>
		<dc:creator>HaPK</dc:creator>
		<pubDate>Thu, 26 Jul 2007 05:15:49 +0000</pubDate>
		<guid>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1308</guid>
		<description>It appears that the form is something like this:

 :import do %&#62;
  
  


Another variant is

 :import do %&#62;
  Paste your CSV file here:
  
  
</description>
		<content:encoded><![CDATA[<p>It appears that the form is something like this:</p>
<p> :import do %&gt;</p>
<p>Another variant is</p>
<p> :import do %&gt;<br />
  Paste your CSV file here:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanhowen</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1307</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 21:05:08 +0000</pubDate>
		<guid>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1307</guid>
		<description>Could you please explain this in more depth.  What does your form look like?  I am very intrested!

sincerely,

Nick</description>
		<content:encoded><![CDATA[<p>Could you please explain this in more depth.  What does your form look like?  I am very intrested!</p>
<p>sincerely,</p>
<p>Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanhowen</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1306</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 21:02:34 +0000</pubDate>
		<guid>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1306</guid>
		<description>What does your form look like?   I do not understand how this works, can you please explain this a little bit further?</description>
		<content:encoded><![CDATA[<p>What does your form look like?   I do not understand how this works, can you please explain this a little bit further?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vanhowen</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1305</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 20:47:05 +0000</pubDate>
		<guid>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90#comment-1305</guid>
		<description>What does your form look like?

I am having the same problem as you. I have a form to upload a *.csv file, I want to parse that file and input it into my DB. I saw your bits of code, and I am wondering what your form looks like, and how it operates for you to just call parse() on your params like that. My params consist of the path name of the file, or just the filename itself (in firefox), and I do not believe that is correct.  Is there anyway you could "spill it out" so to speak ?</description>
		<content:encoded><![CDATA[<p>What does your form look like?</p>
<p>I am having the same problem as you. I have a form to upload a *.csv file, I want to parse that file and input it into my DB. I saw your bits of code, and I am wondering what your form looks like, and how it operates for you to just call parse() on your params like that. My params consist of the path name of the file, or just the filename itself (in firefox), and I do not believe that is correct.  Is there anyway you could &#8220;spill it out&#8221; so to speak ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
