Added associations between vote, user and project, at model level.