You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jcoyne I remember two years ago trying to change CarrierWave::SanitizedFile#read to conform to the IO interface, because I wanted to build a Flickr storage gem, where the Flickr client used Faraday which required these two arguments. When I made changes that I thought could work, a lot of tests were failing for unknown reasons, and I think some of the failures were non-fixable. And it was a bit intimidating that CarrierWave::SanitizedFile can have so many states, which #read also changes. It really can be this simple.
Then it would conform to the IO api as documented here: http://ruby-doc.org/core-2.2.2/IO.html#method-i-read
Presently if I have this code:
Then I get this error:
The text was updated successfully, but these errors were encountered: