associations use activerel model to determine type