paperclip_test.rb
7.58 KB
-
Check attachment paths for duplicates, not URLs · 716f1596
As per discussion in issue #660, attachments using alias interpolations for the attachment URL mistakenly get flagged as being duplicates, although the interpolation expands to a unique location. This commit (partially) addresses the issue by checking the attachment path instead. However, the problem will remain for users who use interpolations other than :class to distinguish attachment paths for different models.
Simon Coffey committed