singularize class names in has_many method