...
/Planning the Physical Model to Enforce Correctness
Planning the Physical Model to Enforce Correctness
Learn to plan the physical model for correctness in our Rails application.
We'll cover the following...
Translating the logical model to the physical model requires making several design decisions, especially as the app becomes more complex and needs to manage more types of data. This should be done in two discrete steps. The first is to plan exactly how we are going to store the data in the database. The next is how to write a Rails migration to implement this plan.
Whereas the logical model was for building ...