Hi there.
I just introduced composite_primary_keys into a Rails 3.2.3 application (Ruby 1.9.2p320 on Lion, FWIW). The composite key functionality seems to work fine, but a lot of my specs have started failing with the error "singleton can't be dumped". Based on the lines that throw the error, I *think* this may be due to an interaction with Factory Girl, though I'm not certain (I'm using 2.3.2 of that, if that matters).
Has anyone run into this problem? Any ideas for fixing it? I understand that this typically comes from caching a singleton object, but I'm really not sure where that's happening.
Questions? Suggestions? Help?
Best,
--
Marnen Laibow-Koser