<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Roberto Soares</title>
	<atom:link href="http://roberto.peakhut.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://roberto.peakhut.com</link>
	<description>software development and other stuff</description>
	<lastBuildDate>Fri, 04 Feb 2011 20:42:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Paperclip Recipes by Lawrence Whiteside</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-34</link>
		<dc:creator><![CDATA[Lawrence Whiteside]]></dc:creator>
		<pubDate>Fri, 04 Feb 2011 20:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-34</guid>
		<description><![CDATA[hey, great bunch of recipes.  made me want to keep using paperclip instead of rolling my own.  i have a snag. if the above code covering preventing thumbnail generation it&#039;s not clear where this block goes...

before_local_avatar_post_process do ...

is that placed as a class method of the paperclipped model or is it part of some previously defined callback?  it&#039;s not immediately clear and i get a no method error when i place it as a class method of the paperclipped model.

thanks.]]></description>
		<content:encoded><![CDATA[<p>hey, great bunch of recipes.  made me want to keep using paperclip instead of rolling my own.  i have a snag. if the above code covering preventing thumbnail generation it&#8217;s not clear where this block goes&#8230;</p>
<p>before_local_avatar_post_process do &#8230;</p>
<p>is that placed as a class method of the paperclipped model or is it part of some previously defined callback?  it&#8217;s not immediately clear and i get a no method error when i place it as a class method of the paperclipped model.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Quora</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-31</link>
		<dc:creator><![CDATA[Quora]]></dc:creator>
		<pubDate>Tue, 09 Nov 2010 23:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-31</guid>
		<description><![CDATA[&lt;strong&gt;Is there a way to batch process images with paperclip?...&lt;/strong&gt;

You might want to take a look at http://roberto.peakhut.com/2010/01/14/paperclip_recipes/ He discusses an upload to S3 of a local avatar using straight Paperclip code. Haven&#039;t tried it though....]]></description>
		<content:encoded><![CDATA[<p><strong>Is there a way to batch process images with paperclip?&#8230;</strong></p>
<p>You might want to take a look at http://roberto.peakhut.com/2010/01/14/paperclip_recipes/ He discusses an upload to S3 of a local avatar using straight Paperclip code. Haven&#8217;t tried it though&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by nktokyo</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-29</link>
		<dc:creator><![CDATA[nktokyo]]></dc:creator>
		<pubDate>Sat, 16 Oct 2010 05:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-29</guid>
		<description><![CDATA[This seems exactly what I&#039;m looking for but I can&#039;t figure out how to incorporate it properly. Do you have a sample app that uses this?]]></description>
		<content:encoded><![CDATA[<p>This seems exactly what I&#8217;m looking for but I can&#8217;t figure out how to incorporate it properly. Do you have a sample app that uses this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by RV</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-28</link>
		<dc:creator><![CDATA[RV]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 10:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-28</guid>
		<description><![CDATA[Hello,
Thanks for your code snippet and it is helpful.
However,when I try out your code ( tempupload.rb),i get errors :
@uploaded_file.original_filename ( origina_filename is not a method) and 
 @uploaded_file.to_tempfile ( to_tempfile is not a method).

how is the tempupload.rb supposed to be used- is it a monkey patch to paperclip ??

thanks for your help.]]></description>
		<content:encoded><![CDATA[<p>Hello,<br />
Thanks for your code snippet and it is helpful.<br />
However,when I try out your code ( tempupload.rb),i get errors :<br />
@uploaded_file.original_filename ( origina_filename is not a method) and<br />
 @uploaded_file.to_tempfile ( to_tempfile is not a method).</p>
<p>how is the tempupload.rb supposed to be used- is it a monkey patch to paperclip ??</p>
<p>thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by andHapp &#187; Paperclip and validate the attachment dimension:</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-25</link>
		<dc:creator><![CDATA[andHapp &#187; Paperclip and validate the attachment dimension:]]></dc:creator>
		<pubDate>Wed, 07 Jul 2010 10:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-25</guid>
		<description><![CDATA[[...] tutorial, I found particular useful in my quest is by Roberto Soares. It doesn&#8217;t exactly touch on the [...]]]></description>
		<content:encoded><![CDATA[<p>[...] tutorial, I found particular useful in my quest is by Roberto Soares. It doesn&#8217;t exactly touch on the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Foong</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-24</link>
		<dc:creator><![CDATA[Foong]]></dc:creator>
		<pubDate>Mon, 22 Feb 2010 02:47:59 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-24</guid>
		<description><![CDATA[Thanks Roberto,

It really helpful !

Thanks a lot,
Foong]]></description>
		<content:encoded><![CDATA[<p>Thanks Roberto,</p>
<p>It really helpful !</p>
<p>Thanks a lot,<br />
Foong</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Anthony</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-21</link>
		<dc:creator><![CDATA[Anthony]]></dc:creator>
		<pubDate>Fri, 12 Feb 2010 17:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-21</guid>
		<description><![CDATA[Thanks for the reply.  That should work perfectly.  I&#039;m not sure how I missed this the first time but the reason for the continuous uploading to s3 that I mentioned is because when I commented out the &quot;self.local_avatar.dirty?&quot; it was caught in a constant loop.  It would call the &quot;after_save :queue_upload_to_s3&quot; then in &quot;upload_to_s3&quot; save the object again which would go right back to the after save and back to &quot;upload_to_s3&quot;.  I&#039;m sure this would be obvious to most but I spent a few hours trying to figure out why this was happening! It&#039;s ok to laugh...

Thanks for great post!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the reply.  That should work perfectly.  I&#8217;m not sure how I missed this the first time but the reason for the continuous uploading to s3 that I mentioned is because when I commented out the &#8220;self.local_avatar.dirty?&#8221; it was caught in a constant loop.  It would call the &#8220;after_save :queue_upload_to_s3&#8243; then in &#8220;upload_to_s3&#8243; save the object again which would go right back to the after save and back to &#8220;upload_to_s3&#8243;.  I&#8217;m sure this would be obvious to most but I spent a few hours trying to figure out why this was happening! It&#8217;s ok to laugh&#8230;</p>
<p>Thanks for great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Roberto Soares</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-20</link>
		<dc:creator><![CDATA[Roberto Soares]]></dc:creator>
		<pubDate>Thu, 11 Feb 2010 13:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-20</guid>
		<description><![CDATA[Hi Anthony,
You are right, I&#039;ve replaced &#039;self.local_avatar.dirty?&#039; by &#039;self.local_avatar_updated_at_changed?&#039; and I think it&#039;ll work fine now. I created a repository with the solution, so you can fork and help me to improve it: &lt;a href=&quot;http://github.com/roberto/paperclip_recipes&quot; rel=&quot;nofollow&quot;&gt;http://github.com/roberto/paperclip_recipes&lt;/a&gt;.
Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hi Anthony,<br />
You are right, I&#8217;ve replaced &#8216;self.local_avatar.dirty?&#8217; by &#8216;self.local_avatar_updated_at_changed?&#8217; and I think it&#8217;ll work fine now. I created a repository with the solution, so you can fork and help me to improve it: <a href="http://github.com/roberto/paperclip_recipes" rel="nofollow">http://github.com/roberto/paperclip_recipes</a>.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Anthony</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-18</link>
		<dc:creator><![CDATA[Anthony]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 21:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-18</guid>
		<description><![CDATA[This is exactly what I&#039;m looking for but have ran into a bit of a problem.  The self.local_avatar.dirty? never validates to true after save.  Not sure exactly whats going on here but if you have any thoughts that would be great.  If I comment out that check to always send_later I end up with a constant connection to s3 that continually uploads.  It will save the first file but then get stuck in a loop uploading the file to s3 with a new ID.  No idea whats going on here!

Thanks!]]></description>
		<content:encoded><![CDATA[<p>This is exactly what I&#8217;m looking for but have ran into a bit of a problem.  The self.local_avatar.dirty? never validates to true after save.  Not sure exactly whats going on here but if you have any thoughts that would be great.  If I comment out that check to always send_later I end up with a constant connection to s3 that continually uploads.  It will save the first file but then get stuck in a loop uploading the file to s3 with a new ID.  No idea whats going on here!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Paperclip Recipes by Roberto Soares</title>
		<link>http://roberto.peakhut.com/2010/01/14/paperclip_recipes/#comment-17</link>
		<dc:creator><![CDATA[Roberto Soares]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 12:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://roberto.peakhut.com/?p=131#comment-17</guid>
		<description><![CDATA[Thank you! Please feel free to contact me if you have any questions.]]></description>
		<content:encoded><![CDATA[<p>Thank you! Please feel free to contact me if you have any questions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

