Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo

  • Stateless Code
  • 2022-01-11
  • 79
Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo
RubyRailsRuby on RailsprogrammingscreencastgitGitHubtestingtest-driven-developmentlibertariananarchistvoluntaryistancapLinuxUbuntufull-stacksoftwaresoftware developmenttutorialeducationalRubygemscodecastRuby3RubocopRails 7Rails7Ruby on Rails 7ActiveRecordmigrationsmodelsMVCRails consolefixturesresourcesmodelassociationsrefactoringhas_manybelongs_todestroyturbohotwire
  • ok logo

Скачать Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Codecast: Getting Started with Rails 7 18: Destroy Comments with Turbo

This is the 18th video in the Getting Started with Rails 7 series. In this video Mike adds the ability to delete comments. Similar to article deletion, he needs to make sure the Turbo confirm and :see_other status are configured correctly. In order to test this he uses browser-driven Rails system tests.

This video covers:
00:00:10 Introduction and set up spam comment
00:02:08 Add destroy link to comment partial (not yet adapted for Turbo)
00:03:17 Add assertions to ArticlesControllerTest for show action
00:04:08 Write failing browser test case for destroying a comment (with invalid match: :last option)
00:05:58 Add should destroy comment test to CommentsControllerTest
00:07:47 Try to run the tests and fix syntax error
00:09:02 Troubleshoot invalid match: :last part 1
00:11:48 Adapt link_to so it works with Turbo and get articles show test passing
00:14:41 Implement the destroy action on the CommentsController to get comments destroy test passing
00:18:55 Troubleshoot invalid match in browser test part 2.
00:23:38 Add dom_id helper to comment partial to identify the comment to destroy
00:26:42 Validate user experience in browser
00:27:15 Review, commit, and push code

This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]