Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: avsej
The one of drawbacks of using instance variables is that they are nil by default, so your code could silently work incorrectly. decent_exposure help to catch unsused variables. thanks!
Maybe I've missed something, but is it normal to download all assets from remote storage (s3) just to determine file size? For example I have 100 videos on production and have just migrated to carrierwave. Files already on S3. So all my production instanced need to have local copies just to display `video.source.size`???
it is according to https://github.com/jnicklas/carrierwave/blob/c9b5cbbe03ba8aca3977/lib/carrierwave/uploader/proxy.rb#L56