Publisha: the one stop publishing platform
Just started another blog to talk about programming related stuff using Publisha. And the best thing is it will be on iPhone straight-away. I don’t have to even move my finger. Cool.
Just started another blog to talk about programming related stuff using Publisha. And the best thing is it will be on iPhone straight-away. I don’t have to even move my finger. Cool.
In my previous post, I mentioned a way of validating the size of the attachment and I did warn readers that it is a monkey-patch and it needs serious refactoring. Big refactoring is a result of several small ones and that’s exactly what I have done here. I have extracted the code out and it [...]
Paperclip is an easy-to-use file upload gem released by Thoughtbot. It provides several validations out of the box like validation on size (as in file size) of the attachment, if the attachment is present or not and so on. However, it does not have any validations on the dimensions of the file because sometimes you [...]