Commit 5161c5fa by Michael Reinsch Committed by Jon Yurek

need to call save on the instance, otherwise we'll regenerate files with a new…

need to call save on the instance, otherwise we'll regenerate files with a new timestamp but the updated_at won't reflect that
parent dff05b35
...@@ -294,7 +294,7 @@ module Paperclip ...@@ -294,7 +294,7 @@ module Paperclip
saved_only_process, @options[:only_process] = @options[:only_process], style_args saved_only_process, @options[:only_process] = @options[:only_process], style_args
begin begin
assign(self) assign(self)
save instance.save
rescue Errno::EACCES => e rescue Errno::EACCES => e
warn "#{e} - skipping file." warn "#{e} - skipping file."
false false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment