Skip to content

Commit

Permalink
Merge pull request rails#52041 from yuler/patch-1
Browse files Browse the repository at this point in the history
Fix typo in active_record_basics.md [skip ci]
  • Loading branch information
byroot authored Jun 7, 2024
2 parents 63db7d5 + 25b26cf commit a24edef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_record_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit a24edef

Please sign in to comment.