Adocasts Plus Timed Exclusive

Please check back in 11 days. Get immediate access to this lesson and more by joining Adocasts Plus for $8.00/mo or signing into your existing Adocasts+ account.

robot mascot smiling

Allowing Admins to Delete Movies and their Relationships

In this lesson, we'll learn how we can safely delete movies and their relationships. We'll discuss how we need to consider foreign key constraints, and what to do when our deletes aren't set to cascade.

Published
Jun 29
Duration
7m 42s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

🕰️ Chapters
00:00 - Adding the Delete Form and Button
01:48 - Defining our MoviesController Destroy Handler
02:30 - Considering Relationships when Deleting
04:30 - How To Delete Relationships when the Delete Does NOT Cascade
06:20 - Testing Out our Deletion

Adocasts Plus Timed Exclusive

Please check back in 11 days. Get immediate access to this lesson and more by joining Adocasts Plus for $8.00/mo or signing into your existing Adocasts+ account.

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!