wegowise/polymorpheus — pull request #3 by tristil (2013-05-31 21:42:13+00:00)
Title: Use base_class when checking valid class type

The dynamically generated setter allowed assigning a specified class or its
direct descendant, but it did not allow for arbitrary depth descendants. By
using base_class we will always get the first ActiveRecord class.