mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix mapping of content
This commit is contained in:
parent
4c15ed7753
commit
b69a6c3214
1 changed files with 1 additions and 1 deletions
|
@ -82,9 +82,9 @@ of two or more words, the model class name should follow the Ruby conventions,
|
||||||
using the CamelCase form, while the table name must contain the words separated
|
using the CamelCase form, while the table name must contain the words separated
|
||||||
by underscores. Examples:
|
by underscores. Examples:
|
||||||
|
|
||||||
* Database Table - Plural with underscores separating words (e.g., `book_clubs`).
|
|
||||||
* Model Class - Singular with the first letter of each word capitalized (e.g.,
|
* Model Class - Singular with the first letter of each word capitalized (e.g.,
|
||||||
`BookClub`).
|
`BookClub`).
|
||||||
|
* Database Table - Plural with underscores separating words (e.g., `book_clubs`).
|
||||||
|
|
||||||
| Model / Class | Table / Schema |
|
| Model / Class | Table / Schema |
|
||||||
| ---------------- | -------------- |
|
| ---------------- | -------------- |
|
||||||
|
|
Loading…
Reference in a new issue