elight/acts_as_commentable_with_threading

Can't dup Nil class

Closed this issue · 1 comments

Hi
I'm getting error, like in title, always on second request (first is ok) when trying to get user model from comment, for example 'article.root_comments.first.user'. Running the same from console works always fine.
I found a solution here
http://strd6.com/2009/04/cant-dup-nilclass-maybe-try-unloadable/
From all mentioned ones only adding uloadable to user model solved it.
Another question, maybe I should move user model from vendor/plugins to my app/models ?

Haven't heard anything here in a while. Closing.