Add 'keep_old_files' option. #674

Merged
merged 1 commit into from Dec 13, 2011

Conversation

Projects
None yet
3 participants
Contributor

teefax commented Dec 13, 2011

@teefax teefax Add 'keep_old_files' option.
From pcreux@5237495

Conflicts:

	lib/paperclip/attachment.rb
345ec74

pcreux commented Dec 13, 2011

I'm amazed to see that a 2.5 years old commit can merge cleanly into Paperclip. :)

Contributor

sikachu commented Dec 13, 2011

Oh well, it's never too late to get something cool in ;)

@sikachu sikachu added a commit that referenced this pull request Dec 13, 2011

@sikachu sikachu Merge pull request #674 from teefax/keep_old_files
Add ':keep_old_files' option to `has_attached_file`

Set this option to `true` will make paperclip retain your file from the storage engine.
9574cd0

@sikachu sikachu merged commit 9574cd0 into thoughtbot:master Dec 13, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment