Setup has_many through for student teacher association