Fix deprecation warning when using the ids setter of a has_many
collection relationship that has class_name set to
'ActiveFedora::Base
Merge pull request #237 from projecthydra/find_one_cast