need to call method with after :store, but run once

21 views
Skip to first unread message

mike

unread,
May 19, 2012, 10:04:16 PM5/19/12
to carri...@googlegroups.com
Hi!

im using carrierwave for an api to convert documents, the uploader generates the file in different formats (original , pdf and png),
and in the last step (after :store) it executes an http request to some url with faraday lib
my problem is the method called by after :store  is executed 3 times , i think  that's because  the after :store, executes one time per version, right ?

is there a way to know what version correspond to a current after :store ? or something like after :store_png ?

regards



Reply all
Reply to author
Forward
0 new messages