Paperclip renaming files after they're saved
Posted
by fivetwentysix
on Stack Overflow
See other posts from Stack Overflow
or by fivetwentysix
Published on 2010-04-25T12:02:26Z
Indexed on
2010/04/25
12:13 UTC
Read the original article
Hit count: 262
How do I rename a file after is has been uploaded and saved? My problem is that I need to parse information about the files automatically in order to come up with the file name the file should be saved as with my application, but I can't access the information required to generate the file name till the record for the model has been saved.
© Stack Overflow or respective owner