<?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: Easy Upload via URL with&#160;Paperclip</title>
	<atom:link href="http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/feed/" rel="self" type="application/rss+xml" />
	<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 01:15:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Josh Crews</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-69317</link>
		<dc:creator>Josh Crews</dc:creator>
		<pubDate>Wed, 16 Dec 2009 14:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-69317</guid>
		<description>That was unbelievably effective.</description>
		<content:encoded><![CDATA[<p>That was unbelievably effective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Harvey</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-69053</link>
		<dc:creator>Tim Harvey</dc:creator>
		<pubDate>Mon, 12 Oct 2009 18:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-69053</guid>
		<description>Thanks for a terrific post. This really saved me a ton of effort with an automated rake task pulling products in from an old store into Spree.</description>
		<content:encoded><![CDATA[<p>Thanks for a terrific post. This really saved me a ton of effort with an automated rake task pulling products in from an old store into Spree.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-69031</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Wed, 30 Sep 2009 15:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-69031</guid>
		<description>@naresh, make sure you have a working &quot;normal&quot; paperclip model before you try to do the &quot;upload via url&quot; additions. Follow the instructions provided in the paperclip readme and you should be good to go.</description>
		<content:encoded><![CDATA[<p>@naresh, make sure you have a working &#8220;normal&#8221; paperclip model before you try to do the &#8220;upload via url&#8221; additions. Follow the instructions provided in the paperclip readme and you should be good to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naresh</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-69029</link>
		<dc:creator>naresh</dc:creator>
		<pubDate>Wed, 30 Sep 2009 12:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-69029</guid>
		<description>Using paperclip for download image with a specific image url.. after following your steps..
 
I m getting this err whts the meaning of this man, what should i need to patch this gone.. ?

User model does not have required column &#039;user_file_name&#039;

Thanx in advance..</description>
		<content:encoded><![CDATA[<p>Using paperclip for download image with a specific image url.. after following your steps..</p>
<p>I m getting this err whts the meaning of this man, what should i need to patch this gone.. ?</p>
<p>User model does not have required column &#8216;user_file_name&#8217;</p>
<p>Thanx in advance..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil Smy</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-68762</link>
		<dc:creator>Phil Smy</dc:creator>
		<pubDate>Tue, 23 Jun 2009 21:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-68762</guid>
		<description>Could this be any more awesome?! Thanks! Added to our production app!</description>
		<content:encoded><![CDATA[<p>Could this be any more awesome?! Thanks! Added to our production app!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grarceSkypece</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-68603</link>
		<dc:creator>grarceSkypece</dc:creator>
		<pubDate>Fri, 20 Mar 2009 20:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-68603</guid>
		<description>Was ist das?</description>
		<content:encoded><![CDATA[<p>Was ist das?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Upload files with Paperclip on Ruby on Rails &#124; reinventar</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-68602</link>
		<dc:creator>Upload files with Paperclip on Ruby on Rails &#124; reinventar</dc:creator>
		<pubDate>Thu, 19 Mar 2009 10:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-68602</guid>
		<description>[...] wasn&#8217;t very difficult. There&#8217;s some advance stuff you can do with Paperclip, like upload via a URL or upload your files to Amazon&#8217;s S3 or define post processing operations on your [...]</description>
		<content:encoded><![CDATA[<p>[...] wasn&#8217;t very difficult. There&#8217;s some advance stuff you can do with Paperclip, like upload via a URL or upload your files to Amazon&#8217;s S3 or define post processing operations on your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BioNuc</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-68544</link>
		<dc:creator>BioNuc</dc:creator>
		<pubDate>Mon, 09 Mar 2009 13:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-68544</guid>
		<description>i liked your post so much and inspired by this effort i made a small modification in paperclip using this idea and sent a pull request to include this as a feature

you can read about this in my post here

http://bionuc-tech.blogspot.com/2009/03/uploading-images-from-url-using.html</description>
		<content:encoded><![CDATA[<p>i liked your post so much and inspired by this effort i made a small modification in paperclip using this idea and sent a pull request to include this as a feature</p>
<p>you can read about this in my post here</p>
<p><a href="http://bionuc-tech.blogspot.com/2009/03/uploading-images-from-url-using.html" rel="nofollow">http://bionuc-tech.blogspot.com/2009/03/uploading-images-from-url-using.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67495</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Tue, 20 Jan 2009 23:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67495</guid>
		<description>You guys must have been right after all. I was experiencing some problems with URL uploads. I&#039;m not sure why it&#039;s necessary, but I&#039;ve update the article to define the original_filename method on the fly, and now it&#039;s working fine. Thanks for the heads up!</description>
		<content:encoded><![CDATA[<p>You guys must have been right after all. I was experiencing some problems with URL uploads. I&#8217;m not sure why it&#8217;s necessary, but I&#8217;ve update the article to define the original_filename method on the fly, and now it&#8217;s working fine. Thanks for the heads up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67411</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 16 Jan 2009 19:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67411</guid>
		<description>Pierre, this appears to be working fine for me. Please update your Paperclip plugin and let me know if you still have a problem. I believe this is the commit that added original_filename to the StringIO class:

http://github.com/thoughtbot/paperclip/commit/d92be0d894545a447728186e5f7141f32adcb883</description>
		<content:encoded><![CDATA[<p>Pierre, this appears to be working fine for me. Please update your Paperclip plugin and let me know if you still have a problem. I believe this is the commit that added original_filename to the StringIO class:</p>
<p><a href="http://github.com/thoughtbot/paperclip/commit/d92be0d894545a447728186e5f7141f32adcb883" rel="nofollow">http://github.com/thoughtbot/paperclip/commit/d92be0d894545a447728186e5f7141f32adcb883</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67410</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Fri, 16 Jan 2009 18:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67410</guid>
		<description>Didier is right.

You should include the original_filename to IO Class from http://almosteffortless.com/2008/10/24/easy-upload-via-url-with-attachment_fu/</description>
		<content:encoded><![CDATA[<p>Didier is right.</p>
<p>You should include the original_filename to IO Class from <a href="http://almosteffortless.com/2008/10/24/easy-upload-via-url-with-attachment_fu/" rel="nofollow">http://almosteffortless.com/2008/10/24/easy-upload-via-url-with-attachment_fu/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67409</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 16 Jan 2009 18:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67409</guid>
		<description>Hey Didier - nice to hear from you! It looks like the Paperclip plugin added the original_filename= method in a recent version. I can&#039;t see what commit right now because github is down, but update to the latest version and you should see it in there. Thanks for the heads-up in any case!</description>
		<content:encoded><![CDATA[<p>Hey Didier &#8211; nice to hear from you! It looks like the Paperclip plugin added the original_filename= method in a recent version. I can&#8217;t see what commit right now because github is down, but update to the latest version and you should see it in there. Thanks for the heads-up in any case!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67408</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Fri, 16 Jan 2009 18:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67408</guid>
		<description>Thanks !
This worked great :)</description>
		<content:encoded><![CDATA[<p>Thanks !<br />
This worked great :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Didier Lafforgue</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67403</link>
		<dc:creator>Didier Lafforgue</dc:creator>
		<pubDate>Wed, 14 Jan 2009 21:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67403</guid>
		<description>Hi Trevor !

A little hello from a (the only one ?) previous French coworker ! Oh yea and happy new year !!!
Go back to serious stuff. Thanks a lot for your article. However, I&#039;ve got one little comment: the StringIO class does not have a &quot;original_filename=&quot; method (example from your download_remote_image method). The solution is to use the code from the attachment_fu version (open the StringIO class and add dynamically the method). But perhaps, I missed something.
I think you should fork paperclip from github and enhance the Upfile class to handle StringIO and more generally remote files. Just an idea (almost effort less ;-). 
a+

  Didier</description>
		<content:encoded><![CDATA[<p>Hi Trevor !</p>
<p>A little hello from a (the only one ?) previous French coworker ! Oh yea and happy new year !!!<br />
Go back to serious stuff. Thanks a lot for your article. However, I&#8217;ve got one little comment: the StringIO class does not have a &#8220;original_filename=&#8221; method (example from your download_remote_image method). The solution is to use the code from the attachment_fu version (open the StringIO class and add dynamically the method). But perhaps, I missed something.<br />
I think you should fork paperclip from github and enhance the Upfile class to handle StringIO and more generally remote files. Just an idea (almost effort less ;-).<br />
a+</p>
<p>  Didier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edgar J. Suárez</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67095</link>
		<dc:creator>Edgar J. Suárez</dc:creator>
		<pubDate>Mon, 15 Dec 2008 17:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67095</guid>
		<description>Nice.

I&#039;ve used rio[1] also.

[1]http://rio.rubyforge.org/</description>
		<content:encoded><![CDATA[<p>Nice.</p>
<p>I&#8217;ve used rio[1] also.</p>
<p>[1]http://rio.rubyforge.org/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67094</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Mon, 15 Dec 2008 14:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67094</guid>
		<description>Florian, I appreciate the suggestion, but I&#039;m getting an undefined method error when I try to use image_url? without defining it myself. I&#039;m guessing that technique you and Tammer mention only works with database-backed attributes.</description>
		<content:encoded><![CDATA[<p>Florian, I appreciate the suggestion, but I&#8217;m getting an undefined method error when I try to use image_url? without defining it myself. I&#8217;m guessing that technique you and Tammer mention only works with database-backed attributes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Florian Dutey</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67092</link>
		<dc:creator>Florian Dutey</dc:creator>
		<pubDate>Mon, 15 Dec 2008 10:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67092</guid>
		<description>I confirm Tammer&#039;s comment.
You can replace :image_url_provided? by :image_url? wich do exactly the same (!blank?).</description>
		<content:encoded><![CDATA[<p>I confirm Tammer&#8217;s comment.<br />
You can replace :image_url_provided? by :image_url? wich do exactly the same (!blank?).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuwan Chaturanga</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67086</link>
		<dc:creator>Nuwan Chaturanga</dc:creator>
		<pubDate>Mon, 15 Dec 2008 03:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67086</guid>
		<description>Wow. It&#039;s grate to know that uploading images via url is achivable. I haven&#039;t heard of that and Moreover thank you very much for showing how to do it with parerclip. I will surely incorporate this feature in my next rails app. :-)</description>
		<content:encoded><![CDATA[<p>Wow. It&#8217;s grate to know that uploading images via url is achivable. I haven&#8217;t heard of that and Moreover thank you very much for showing how to do it with parerclip. I will surely incorporate this feature in my next rails app. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67083</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Sun, 14 Dec 2008 23:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67083</guid>
		<description>Thanks for the comment, Tammer. Maybe I&#039;m confused about your suggestion, but I don&#039;t think it will quite work that way. We need to know if the user provided a URL, which we do by checking for a value in image_url. (Rails doesn&#039;t seem to provide me with an image_url? method, perhaps because there&#039;s no db column for the image_url attribute.) If they provided a URL, we try to download the file and verify that the download was successful by checking image_remote_url. Perhaps renaming image_url_provided? to image_url? would be better...?</description>
		<content:encoded><![CDATA[<p>Thanks for the comment, Tammer. Maybe I&#8217;m confused about your suggestion, but I don&#8217;t think it will quite work that way. We need to know if the user provided a URL, which we do by checking for a value in image_url. (Rails doesn&#8217;t seem to provide me with an image_url? method, perhaps because there&#8217;s no db column for the image_url attribute.) If they provided a URL, we try to download the file and verify that the download was successful by checking image_remote_url. Perhaps renaming image_url_provided? to image_url? would be better&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tammer Saleh</title>
		<link>http://almosteffortless.com/2008/12/11/easy-upload-via-url-with-paperclip/comment-page-1/#comment-67082</link>
		<dc:creator>Tammer Saleh</dc:creator>
		<pubDate>Sun, 14 Dec 2008 21:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://almosteffortless.com/?p=991#comment-67082</guid>
		<description>This looks incredibly useful.  One issue, though, is that I don&#039;t think you need the image_url_provided? method.  Rails gives you that method via image_remote_url? (with the question mark).  In fact, you should be able to use the :allow_blank option for the validates_presence_of call.

Great and useful post.</description>
		<content:encoded><![CDATA[<p>This looks incredibly useful.  One issue, though, is that I don&#8217;t think you need the image_url_provided? method.  Rails gives you that method via image_remote_url? (with the question mark).  In fact, you should be able to use the :allow_blank option for the validates_presence_of call.</p>
<p>Great and useful post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
