I used paperclip in a metaclass, but the self.class does not work on metaclasses. The instance method of the same name (which behave exactly the same) works.
Make paperclip works on metaclasses
Merge remote-tracking branch 'upstream/master'
This pull request passes (merged 91aecd8 into 70f0f1f).
Would you mind adding test for this? Say, let's create a meta class then add an attachment for it. I want to make sure that I won't introduce a regression in the future.
Yes, I'd like to see a test case for this, if for nothing else than to see an example, as I'm not sure when this would come in handy.
Add test cases for meta class
sorry it took me a while to learn how to write a test case (shame on me). i've added in a test case for meta class
This pull request passes (merged 10ef3cd into 4bea897).