https://github.com/thoughtbot/paperclip/commit/65e8d4f6de50732d8e1b
https://github.com/thoughtbot/paperclip/issues/60
Simple to use:
has_attached_file => :attachment,
:styles => { :thumb => 100×100! },
:preserve_files => true
It’s not document yet and took some digging to find so I wanted to share it here.
]]>The patch hasn’t been updated since then. My change where put together in this commit. Check it out, you might apply the same changes to the latestversion of paperclip. :)
]]>:keep_old_files => :version_condition_met?
]]>set the option keep_old_files to true when a new version get saved
Where do we update the keeps_old_file
that’s great. Happy to know it helped you.
Cheers
]]>I pull your changes into my fork of paperclip and pushed it to gemcutter as “paperclip_with_versions”
“http://gemcutter.org/gems/paperclip_with_versions”
Don’t mean to step on your toes here, but we needed this gem’d for our project mgmt.
I used your example and got this working with acts-as-audited.
Thanks
]]>“http://github.com/alainravet/paperclip/commit/0943fa3a82447329ebaff4ae217a77fe8236dadb”
he does the same feature, differently – not sure which approach is better
oddly, you both added the same comment to ‘lib/paperclip.rb’ – how did that happen?
]]>