ELI5: Explain Like I'm 5

Active record pattern

The active record pattern is a way for computer programs to save and retrieve data from a database like the information you save in a file on your computer. A database is like a filing cabinet where all the information is stored, and the active record pattern helps make it easier to get the data out of the database. When a program needs to get data from a database, it will call a “record” (like a folder in the filing cabinet), and inside the record it will find the data it needs.