thoughtbot/paperclip — Issue #678: Paperclip::Attachment can't be used has a hash key
Author: betelgeuse
Created: 2011-12-13 21:28:15+00:00
State: open

I have a framework that ends up using all kinds of objects as hash keys. This doesn't work with paperclip because it has a Paperclip::Attachment#hash that doesn't work by default:

```
>> {Paperclip::Attachment.new(:foo, :bar) => 1}
ArgumentError: Unable to generate hash without :hash_secret
from /home/betelgeuse/.gem/ruby/1.8/bundler/gems/paperclip-ac822448489d/lib/paperclip/attachment.rb:281:in `hash'
from (irb):4
```