Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #40 from lgierth/swap-terminology-columns

Swap terminology columns

DataMapper should have the left half of the table, as it's where your eyes go first.
  • Loading branch information...
commit 843ed2cf6255ae87f03c4401c390b82aa1f74eef 2 parents 6c6d471 + 2685dcf
@namelessjon namelessjon authored
Showing with 8 additions and 6 deletions.
  1. +2 −0  css/site.css
  2. +6 −6 docs/associations.md
View
2  css/site.css
@@ -402,6 +402,8 @@ table {
table tr td.pointer {
vertical-align: middle;
text-align: center; }
+ table tr th {
+ font-weight: bold; }
.changeSummary {
width: 840px !important; }
View
12 docs/associations.md
@@ -19,30 +19,30 @@ The types of associations currently in DataMapper are:
<table summary="Associations">
<thead>
<tr>
- <td>ActiveRecord Terminology</td>
- <td>DataMapper Terminology</td>
+ <th>DataMapper Terminology</th>
+ <th>ActiveRecord Terminology</th>
</tr>
</thead>
<tbody>
<tr>
- <td>has_many</td>
<td>has n</td>
+ <td>has_many</td>
</tr>
<tr>
- <td>has_one</td>
<td>has 1</td>
+ <td>has_one</td>
</tr>
<tr>
<td>belongs_to</td>
<td>belongs_to</td>
</tr>
<tr>
- <td>has_and_belongs_to_many</td>
<td>has n, :things, :through => Resource</td>
+ <td>has_and_belongs_to_many</td>
</tr>
<tr>
- <td>has_many :association, :through => Model</td>
<td>has n, :things, :through => :model</td>
+ <td>has_many :association, :through => Model</td>
</tr>
</tbody>
</table>
Please sign in to comment.
Something went wrong with that request. Please try again.