Posted over 3 years ago. Visible to the public. Repeats.
Carrierwave: always limit images to a reasonable size
Today's cameras create huge images, some beyond 50MB. Unless you need to offer this large files, you should always shrink uploaded files to a reasonable resolution.
Copyclass ImageUploader < CarrierWave::Uploader::Base process resize_to_limit: [3000, 3000] # ... end
Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for unsupported versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2).