projecthydra/active_fedora — pull request #100 by simonlamb (2013-06-07 17:03:15+00:00)
Title: Filters belongs_to associations by :class_name if specified

See https://groups.google.com/d/msg/hydra-tech/dKu91YW2nk8/3yXuTl974FIJ for original discussion on topic.
This adds the filtering of the class type to the association query when it is specified via the :class_name attribute.