#12 √ resolved
Chris Olsen

Trunk attachment file has uncorrected code

Reported by Chris Olsen | April 30th, 2008 @ 10:05 PM

In the attachment file on line 183 there some conflicting code that was not corrected.

def post_process #:nodoc:

return if @queued_for_write[:original].nil?

@styles.each do |name, args|

begin

dimensions, format = args

@queued_for_write[name] = Thumbnail.make(@queued_for_write[:original],

<<<<<<< HEAD:lib/paperclip/attachment.rb

dimensions,

format,

@whiny_thumnails)

=======

dimensions,

format,

@whiny_thumnails)

>>>>>>> Do not hold open File/Tempfile instances around:lib/paperclip/attachment.rb

rescue Errno::ENOENT => e

@errors << "could not be processed because the file does not exist."

rescue PaperclipError => e

@errors << e.message

end

end

end

Comments and changes to this ticket

  • Jon Yurek

    Jon Yurek May 1st, 2008 @ 10:27 AM

    • → State changed from “new” to “resolved”

    Oh, god, how embarrassing. It seems my git-svn-fu is not up to snuff and I accidentally committed this to SVN. I've fixed it in trunk. Sorry about that.

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket