added parameters to has_association_helpers