diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-09-02 13:08:06 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2012-09-17 15:54:23 -0400 |
commit | 2c38567646791f223b4e48550fba0e0386a05d96 (patch) | |
tree | c9a218e052d5c59aebce5c6a29d436953bc57a1c /guides/source/active_record_basics.md | |
parent | 9873dd800b77105fe17f583f0d036240ef334826 (diff) | |
download | rails-2c38567646791f223b4e48550fba0e0386a05d96.tar.gz rails-2c38567646791f223b4e48550fba0e0386a05d96.tar.bz2 rails-2c38567646791f223b4e48550fba0e0386a05d96.zip |
Convert all tables to Markdown syntax
Diffstat (limited to 'guides/source/active_record_basics.md')
-rw-r--r-- | guides/source/active_record_basics.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 3e7a41973a..6a4b03acc6 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -46,12 +46,13 @@ By default, Active Record uses some naming conventions to find out how the mappi * Database Table - Plural with underscores separating words (e.g., `book_clubs`) * Model Class - Singular with the first letter of each word capitalized (e.g., `BookClub`) -|_.Model / Class |_.Table / Schema | -|`Post` |`posts`| -|`LineItem` |`line_items`| -|`Deer` |`deer`| -|`Mouse` |`mice`| -|`Person` |`people`| +| Model / Class | Table / Schema | +| ------------- | -------------- | +| `Post` | `posts` | +| `LineItem` | `line_items` | +| `Deer` | `deer` | +| `Mouse` | `mice` | +| `Person` | `people` | ### Schema Conventions |