paperclip_missing_attachment_styles_test.rb
4.28 KB
-
Don't crash when a new attachment is added. · dc53432b
If a model has an existing attachment and styles, and later a new attachment is added (not just new styles), "rake paperclip:refresh:missing_styles" would crash with "TypeError: can't convert nil into Array".
Steve Madsen committed