Tag Archives: ruby

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 that’s exactly what I have done here. I have extracted the code out and it looks [...]

Gemcutter


IRB on roids


Ruby 1.9


I love metaprogramming


Ruby software debt


Clearance


RubyGems error on Windows