I inherited a Rails 2.2.2 app that stores user-uploaded images on Amazon S3. The attachment_fu-based Photo model offers a rotate method that uses <
Photo
rotate
Now OpenURI::Buffer::StringMax can be set directly:
OpenURI::Buffer::StringMax
require 'open-uri' OpenURI::Buffer::StringMax = 0
but with a warning:
warning: already initialized constant OpenURI::Buffer::StringMax