Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Rails Decal
Lecture 5 - Edit, Update, Destroy
Logistics
Remaking last lecture
Absences
Live Demo Heavy
Continuing off homework code
CRUD
Create
Read
Update
Destroy
Edit
Endpoint to destroy a particular resource
Uses DELETE request
Update
Endpoint where data from edit is sent and where resource is actually updated
Uses PUTS/PATCH request
Analogous to Create
Destroy
Get a form to edit a resource
Uses GET request
Analogous to New
Resources
In routes.rb, resources method can create seven routes in one line.
Live Coding
Spring 2016 - Week 5: Edit, Update, Destroy
By Rails Decal
Spring 2016 - Week 5: Edit, Update, Destroy
1,178
Rails Decal
PRO
railsdecal.com
More from
Rails Decal