Object
Changes an underscored string into a class reference.
# File lib/has_many_polymorphs/support_methods.rb, line 5 def _as_class # classify expects self to be plural self.classify.constantize end