Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Sergey Avseyev's Profile

GitHub User: avsej


Comments by Sergey Avseyev


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