missing_attachment_styles.rb
3.09 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