From the course: Ruby on Rails 6 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Learning about CRUD (Create, Read, Update, Delete)

Learning about CRUD (Create, Read, Update, Delete) - Ruby on Rails Tutorial

From the course: Ruby on Rails 6 Essential Training

Start my 1-month free trial

Learning about CRUD (Create, Read, Update, Delete)

- [Instructor] In this chapter, we're going to introduce some concepts that underpin the way most, modern web applications are built. And we'll start by talking about CRUD . What is CRUD? CRUD is an acronym that stands for create, read, update, and delete. These are the four major operations that we perform on a set of data in the database. We create new records in the database, we read records back out of the database, we can update the data in those records or we can delete them. CRUD is a term that we can use to refer to all that stuff that we normally do to a database and our web application is probably going to do the same stuff. It's going to be creating, reading, updating and deleting records in the database. Many of us have built websites with disorganized web pages full of spaghetti code. CRUD helps us to think about our code in a more organized and structured form. And using it as a standard pays big…

Contents