<?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: File versioning in Ruby on Rails with Paperclip &amp; acts_as_versioned</title>
	<atom:link href="http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/feed/" rel="self" type="application/rss+xml" />
	<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned</link>
	<description>Simple and delicious.</description>
	<lastBuildDate>Tue, 08 May 2012 15:23:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Will Koehler</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-6753</link>
		<dc:creator>Will Koehler</dc:creator>
		<pubDate>Mon, 31 Oct 2011 01:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-6753</guid>
		<description>There&#039;s a new option that tells paperclip to preserve old attachments:

https://github.com/thoughtbot/paperclip/commit/65e8d4f6de50732d8e1b
https://github.com/thoughtbot/paperclip/issues/60

Simple to use:

    has_attached_file =&gt; :attachment,
                         :styles =&gt; { :thumb =&gt; 100x100! },
                         :preserve_files =&gt; true

It&#039;s not document yet and took some digging to find so I wanted to share it here.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a new option that tells paperclip to preserve old attachments:</p>
<p><a href="https://github.com/thoughtbot/paperclip/commit/65e8d4f6de50732d8e1b" rel="nofollow">https://github.com/thoughtbot/paperclip/commit/65e8d4f6de50732d8e1b</a><br />
<a href="https://github.com/thoughtbot/paperclip/issues/60" rel="nofollow">https://github.com/thoughtbot/paperclip/issues/60</a></p>
<p>Simple to use:</p>
<p>    has_attached_file =&gt; :attachment,<br />
                         :styles =&gt; { :thumb =&gt; 100&#215;100! },<br />
                         :preserve_files =&gt; true</p>
<p>It&#8217;s not document yet and took some digging to find so I wanted to share it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Creux</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-1464</link>
		<dc:creator>Philippe Creux</dc:creator>
		<pubDate>Thu, 04 Nov 2010 13:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-1464</guid>
		<description>Hey Brett,

The patch hasn&#039;t been updated since then. My change where put together in &lt;a href=&quot;https://github.com/pcreux/paperclip/commit/52374958ef83f1641cf008aead27c23b25fb842d&quot; rel=&quot;nofollow&quot;&gt;this commit&lt;/a&gt;. Check it out, you might apply the same changes to the latestversion of paperclip. :)</description>
		<content:encoded><![CDATA[<p>Hey Brett,</p>
<p>The patch hasn&#8217;t been updated since then. My change where put together in <a href="https://github.com/pcreux/paperclip/commit/52374958ef83f1641cf008aead27c23b25fb842d" rel="nofollow">this commit</a>. Check it out, you might apply the same changes to the latestversion of paperclip. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-1455</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Wed, 03 Nov 2010 23:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-1455</guid>
		<description>How do you actually show the image of a previous version? Doing &quot;image_tag(version.photo.photo(:thumb))&quot; always shows the most recent version. thanks</description>
		<content:encoded><![CDATA[<p>How do you actually show the image of a previous version? Doing &#8220;image_tag(version.photo.photo(:thumb))&#8221; always shows the most recent version. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-1421</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Mon, 01 Nov 2010 20:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-1421</guid>
		<description>Great post! Is this Rails 3 friendly. Also, has this been updated with all the latest paper_clip updates?</description>
		<content:encoded><![CDATA[<p>Great post! Is this Rails 3 friendly. Also, has this been updated with all the latest paper_clip updates?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Creux</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-335</link>
		<dc:creator>Philippe Creux</dc:creator>
		<pubDate>Tue, 12 Jan 2010 14:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-335</guid>
		<description>Check the line 5 of the code sample above.

                    :keep_old_files =&gt; :version_condition_met? 
</description>
		<content:encoded><![CDATA[<p>Check the line 5 of the code sample above.</p>
<p>                    :keep_old_files =&gt; :version_condition_met?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imtiaz Ahmed</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-333</link>
		<dc:creator>Imtiaz Ahmed</dc:creator>
		<pubDate>Mon, 11 Jan 2010 19:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-333</guid>
		<description>How do you use this

set the option keep_old_files to true when a new version get saved
Where do we update the keeps_old_file</description>
		<content:encoded><![CDATA[<p>How do you use this</p>
<p>set the option keep_old_files to true when a new version get saved<br />
Where do we update the keeps_old_file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Creux</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-218</link>
		<dc:creator>Philippe Creux</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-218</guid>
		<description>Hey Andy,

that&#039;s great. Happy to know it helped you.

Cheers</description>
		<content:encoded><![CDATA[<p>Hey Andy,</p>
<p>that&#8217;s great. Happy to know it helped you.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-188</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Thu, 05 Nov 2009 05:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-188</guid>
		<description>Hi Phillipe,

I pull your changes into my fork of paperclip and pushed it to gemcutter as &quot;paperclip_with_versions&quot;

&quot;http://gemcutter.org/gems/paperclip_with_versions&quot;

Don&#039;t mean to step on your toes here, but we needed this gem&#039;d for our project mgmt.

I used your example and got this working with acts-as-audited.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Phillipe,</p>
<p>I pull your changes into my fork of paperclip and pushed it to gemcutter as &#8220;paperclip_with_versions&#8221;</p>
<p>&#8220;http://gemcutter.org/gems/paperclip_with_versions&#8221;</p>
<p>Don&#8217;t mean to step on your toes here, but we needed this gem&#8217;d for our project mgmt.</p>
<p>I used your example and got this working with acts-as-audited.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe Creux</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-170</link>
		<dc:creator>Philippe Creux</dc:creator>
		<pubDate>Fri, 30 Oct 2009 17:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-170</guid>
		<description>Hey Andy, I requested a pull back into Paperclip a while ago. I gonna request again. I also saw this Paperclip fork while working on mine - I guess this comment just stayed in my mind. :)</description>
		<content:encoded><![CDATA[<p>Hey Andy, I requested a pull back into Paperclip a while ago. I gonna request again. I also saw this Paperclip fork while working on mine &#8211; I guess this comment just stayed in my mind. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/comment-page-1/#comment-164</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Wed, 28 Oct 2009 23:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://eggsonbread.com/?p=120#comment-164</guid>
		<description>also, have you seen this Paperclip fork?

&quot;&lt;a href=&quot;http://github.com/alainravet/paperclip/commit/0943fa3a82447329ebaff4ae217a77fe8236dadb&quot; rel=&quot;nofollow&quot;&gt;http://github.com/alainravet/paperclip/commit/0943fa3a82447329ebaff4ae217a77fe8236dadb&lt;/a&gt;&quot;

he does the same feature, differently - not sure which approach is better

oddly, you both added the same comment to &#039;lib/paperclip.rb&#039; - how did that happen?</description>
		<content:encoded><![CDATA[<p>also, have you seen this Paperclip fork?</p>
<p>&#8220;<a href="http://github.com/alainravet/paperclip/commit/0943fa3a82447329ebaff4ae217a77fe8236dadb" rel="nofollow">http://github.com/alainravet/paperclip/commit/0943fa3a82447329ebaff4ae217a77fe8236dadb</a>&#8221;</p>
<p>he does the same feature, differently &#8211; not sure which approach is better</p>
<p>oddly, you both added the same comment to &#8216;lib/paperclip.rb&#8217; &#8211; how did that happen?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

