Delete team member Issue

NG DAVID
I am trying our the teams & team members function.  When I delete a team member from a team, I got error message like this 

#######

ActiveRecord::RecordNotFound in TeamMembersController#destroy


Couldn't find Team with 'id'=8 [WHERE "team_members"."user_id" = $1]
    def set_team
      @team = current_user.teams.find(params[:team_id])
    end

    # Use callbacks to share common setup or constraints between actions.
#### 

Any One help ? 

Actually, it would be nice if some one demo the functionalities and use cases of team and team membership, since the that would be the foundation of SaaS application. 


Notifications
You’re not receiving notifications from this thread.
© 2022 GoRails, LLC