thoughtbot/paperclip

Paperclip does not respect .save(touch: false)

web-connect opened this issue · 0 comments

This gem is deprecated, but for other people who have to use this gem for legacy projects, please be aware that if you do something like

self.document = File.open(my_attachment_url)
slelf.save(touch: false)

Paperclip will still update the updated_at field, I believe because of

instance_write(:updated_at, Time.now)