Skip to content

Commit

Permalink
Fix misplaced link
Browse files Browse the repository at this point in the history
  • Loading branch information
syndbg authored and bbatsov committed Nov 9, 2016
1 parent b16714c commit 07f01f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -854,6 +854,7 @@ when you need to retrieve a single record by some attributes.
* <a name="meaningful-foreign-key-naming"></a>
Name your foreign keys explicitly instead of relying on Rails auto-generated
FK names. (http://edgeguides.rubyonrails.org/active_record_migrations.html#foreign-keys)
<sup>[[link](#meaningful-foreign-key-naming)]</sup>

```Ruby
# bad
Expand All @@ -871,8 +872,6 @@ when you need to retrieve a single record by some attributes.
end
```

<sup>[[link](#meaningful-foreign-key-naming)]</sup>

## Views

* <a name="no-direct-model-view"></a>
Expand Down

0 comments on commit 07f01f0

Please sign in to comment.