Merge pull request #52041 from yuler/patch-1

Fix typo in active_record_basics.md [skip ci]
This commit is contained in:
Jean Boussier 2024-06-07 09:45:41 +02:00 committed by GitHub
commit a24edef641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ purposes.
Active Record models are placed under the `app/models` directory by default. But
you may want to organize your models by placing similar models under their own
folder and namespace. For example, `order.rb` and `review.rb` under
`app/models/books` with `Book::Order` and `Book::Review` class names,
`app/models/book` with `Book::Order` and `Book::Review` class names,
respectively. You can create namespaced models with Active Record.
In the case where the `Book` module does not already exist, the `generate`