Referencing specific database records in your code
Season 1 continues with a discussion of how to deal with special database records that need to be referenced directly in code.
We've all been there before: you've got a specific vendor that you need to write a custom command for, or a certain category that needs special handling, so you either hard-code the ID or slug and shudder slightly before moving on with your life. In this episode, we imagine a better—perhaps the best, even—way!
