BenjaminMedia/Heritage — pull request #6 by davidkovaccs (2012-04-04 18:28:17+00:00)
Title: class and include_predecessor_id paramters added

Hi!

I've added a :class => "::Namespace::ClassName" parameter to acts_as_heir_of to be able to inherit classes from other namespace. This also fixes a bug when the predecessor class name was camelized (like: ActivityItem).

And I've added a :include_predecessor_id => true parameter what adds {predecessor_name}_id as an attribute to the child class.

Regards, David