elight/acts_as_commentable_with_threading — pull request #24 by arjun810 (2012-02-22 23:47:15+00:00)
Title: Allow for Commentables to be STI inherited classes

Hi,

When adding a comment to a model that's a subclass (using STI) of another class, the commentable_type that is stored is the type of the subclass. This doesn't work because when accessing the comments of the object, it searches using the type of the superclass. My changes fix this, I think.

Thanks.