Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use file size of the io adapters #12
It makes sense to use the io adapters size method to determine the file size instead of using File.size(file). I got an error when I tried to assign a file object to the attachment property of my model.
I think this only occurs since paperclip version 3.0.0 since there were no io adapters before that.