Paperclip: how to move existing attachments to a new path
I made the mistake of using the default Paperclip url/path for multiple models, which is problem if an user upload a file with the same name and id, causing a conflict. Also, using the same directory for different models is kind of messy. Here are the steps that i took to fix this problem:
Recent comments