Ruby Find по нескольким столбцам
Permission.find_by(user_id: params[:user_id], project_id: params[:project_id])
patrick204nqh
Permission.find_by(user_id: params[:user_id], project_id: params[:project_id])