Monthly Archives: July 2010

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.

Posted in General | Tagged | Leave a comment

Extend Paperclip 2.3.1.1 to retrieve attachment’s dimensions in Rails 2.3.8

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 … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Paperclip 2.3.1.1 and validate attachment’s dimension

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, … Continue reading

Posted in Programming | Tagged , , | Leave a comment