Posted By

wdso on 02/09/10


Tagged

rails paperclip


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wdso


Regenerate paperclip thumbnails


 / Published in: Ruby
 

  1. # Given Asset has_attached_file
  2. Asset.find(:all).each { |a| a.asset.reprocess!; a.save }

Report this snippet  

You need to login to post a comment.