Rails: Preventing Duplicate Photo Uploads with Paperclip?

Posted by neezer on Stack Overflow See other posts from Stack Overflow or by neezer
Published on 2010-03-16T20:56:09Z Indexed on 2010/03/17 1:31 UTC
Read the original article Hit count: 437

Filed under:
|

Is there anyway to throw a validation error if a user tries to upload the same photo twice to a Rails app using Paperclip? Paperclip doesn't seem to offer this functionality...

I'm using Rails 2.3.5 and Paperclip (obviously).

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about paperclip