Antipattern: The Model Is an Active Record
In simple applications, you don’t need much custom logic in a model. It’s relatively straightforward to match the fields of a model object to the columns of a single table in a database. This is a type of object-relational mapping. All you need the object to do is know how to create a row in the table, read the row, and update and delete it—the basic CRUD operations.