I remove "belongs_to :current_team, class_name: Team.name" and use TeamMember model.