Nerdy words often appear in code blocks, like
names.name, to make it easier to see what kind of "name" that is being referred to.
|Database table names||Plural, lower case, words separated by underscores||
|Database column/field names||Often prefixed with the table name; "column" and "field" can generally be used interchangeably||
|Rails models||Singular, first letters in words capitalized, no spaces||
Database vs. Rails models
The database can be said to be more "stupid": it often knows how tables and columns are connected to other tables and columns via foreign keys (this is however not always the case), but it knows less about the domain model.
Rails models usually map 1-to-1 to a database table with the pluralized name of the model. They are responsible most domain knowledge, for example which
Taxon statuses (column
taxa.status) are required to have a "Current taxon" (