<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parsing CSV files sent via form post in Ruby on Rails</title>
	<atom:link href="http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90/feed" rel="self" type="application/rss+xml" />
	<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>
	<lastBuildDate>Tue, 24 Jan 2012 13:58:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.brianmcquay.com/parsing-csv-files-sent-via-form-post-in-ruby-on-rails/90/comment-page-1#comment-1341</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 03 Aug 2007 21:01:56 +0000</pubDate>
		<guid isPermaLink="false">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; &quot;import&quot;}, :multipart =&gt; true)%&gt;
 File to import: &lt; %= file_field &#039;dump&#039;, &#039;file&#039; %&gt;
 &lt; %= submit_tag &quot;Import&quot; %&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-page-1#comment-1308</link>
		<dc:creator>HaPK</dc:creator>
		<pubDate>Thu, 26 Jul 2007 05:15:49 +0000</pubDate>
		<guid isPermaLink="false">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 %&gt;
  
  


Another variant is

 :import do %&gt;
  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-page-1#comment-1307</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 21:05:08 +0000</pubDate>
		<guid isPermaLink="false">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-page-1#comment-1306</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 21:02:34 +0000</pubDate>
		<guid isPermaLink="false">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-page-1#comment-1305</link>
		<dc:creator>vanhowen</dc:creator>
		<pubDate>Fri, 20 Jul 2007 20:47:05 +0000</pubDate>
		<guid isPermaLink="false">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 &quot;spill it out&quot; 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>

