I'm trying to setup the store_dir for the files being uploaded to carrier wave, but I want a particular url structure (like I had using paperclip). I have two versions :main and :thumb, but it seems that the url being store using model.id is /MODEl/ID/VERSION_IMAGENAME.FILETYPE. I am trying to figure out how to structure the url to be /MODEL/ID/VERSION/IMAGENAME.FILETYPE, but am not having any luck. Any help?
A sample url:
/event/1/main_IMG1922.JPG, but I would like to have /event/1/main/IMG1922.JPG.
Thanks!