↧
Use token instead of id in paperclip’s path
I have been using paperclip in more then a couple of applications that I’m developing now, I really like it and it gives me the flexibility that I require. Url with Token example A couple of days ago,...
View ArticleUse before_destroy on a model with paperclip
I have an application that I’m working on, this application has a demand that I will show the total files and the file total size inside a project. Here is my model: Of course I have the option of...
View ArticleSet the correct content type when using paperclip
I have been using paperclip for image uploads for quite some time now. On a project I am doing right now, I encountered a problem that all of the file uploaded were not in the correct content type. The...
View Article