jackc / edge

Edge provides graph functionality to ActiveRecord.
MIT License
90 stars 10 forks source link

class_name option expects a string #11

Closed davekaro closed 9 years ago

davekaro commented 9 years ago

I had an issue with another gem trying to call constantize on the class_name option of each belongs_to relationship in my model. If I declared the acts_as_forest before the other gem, it would break - trying to call constantize on the class. Plus, the docs always show using a string to specify the class_name.

jackc commented 9 years ago

Thanks!