has_attached_file.rb
2.4 KB
-
Validate media type spoofing only when attachment changed. · 8b5289b6
It resulted with downloading attachment (i.e. from S3) on each instance validation even when attachment didn't change at all.
Wojciech Wnętrzak committed