Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Merge pull request #40 from lgierth/swap-terminology-columns
Browse files Browse the repository at this point in the history
Swap terminology columns

DataMapper should have the left half of the table, as it's where your eyes go first.
  • Loading branch information
namelessjon committed Oct 7, 2012
2 parents 6c6d471 + 2685dcf commit 843ed2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions css/site.css
Expand Up @@ -402,6 +402,8 @@ table {
table tr td.pointer { table tr td.pointer {
vertical-align: middle; vertical-align: middle;
text-align: center; } text-align: center; }
table tr th {
font-weight: bold; }


.changeSummary { .changeSummary {
width: 840px !important; } width: 840px !important; }
Expand Down
12 changes: 6 additions & 6 deletions docs/associations.md
Expand Up @@ -19,30 +19,30 @@ The types of associations currently in DataMapper are:
<table summary="Associations"> <table summary="Associations">
<thead> <thead>
<tr> <tr>
<td>ActiveRecord Terminology</td> <th>DataMapper Terminology</th>
<td>DataMapper Terminology</td> <th>ActiveRecord Terminology</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>has_many</td>
<td>has n</td> <td>has n</td>
<td>has_many</td>
</tr> </tr>
<tr> <tr>
<td>has_one</td>
<td>has 1</td> <td>has 1</td>
<td>has_one</td>
</tr> </tr>
<tr> <tr>
<td>belongs_to</td> <td>belongs_to</td>
<td>belongs_to</td> <td>belongs_to</td>
</tr> </tr>
<tr> <tr>
<td>has_and_belongs_to_many</td>
<td>has n, :things, :through => Resource</td> <td>has n, :things, :through => Resource</td>
<td>has_and_belongs_to_many</td>
</tr> </tr>
<tr> <tr>
<td>has_many :association, :through => Model</td>
<td>has n, :things, :through => :model</td> <td>has n, :things, :through => :model</td>
<td>has_many :association, :through => Model</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
Expand Down

0 comments on commit 843ed2c

Please sign in to comment.