lastomato/mongo_followable — Issue #1: f_type capitalize problem
Author: yoogoon
Created: 2012-03-06 20:47:52+00:00
State: open

Thank you for a great gem.

I'm using your gem with models like "Post" and "ChildPost".
In this case, for inherited model name, rebuild_instances() fails for "ChildPost".

How about just call constantize() without capitalize() ?

Since scope :by_type also calls type.capitalize(), it fails for "ChildPost" again.