aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorSu Zhang (張甦) <me@zhang.su>2014-09-30 11:01:15 -0400
committerSu Zhang (張甦) <me@zhang.su>2014-09-30 11:01:15 -0400
commit71db7fdf501b68dca93911bc64debb7095f47684 (patch)
tree39e4559683c9007b2f29e671aa363dad23fd43c8 /guides
parent79c491e838f83b027b093242cdaf22f47935c258 (diff)
downloadrails-71db7fdf501b68dca93911bc64debb7095f47684.tar.gz
rails-71db7fdf501b68dca93911bc64debb7095f47684.tar.bz2
rails-71db7fdf501b68dca93911bc64debb7095f47684.zip
Update single table inheritance link anchor
The current one is old-of-date and doesn't make the browser navigation to the correct heading.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md
index eff93ce41d..ecf3483d7e 100644
--- a/guides/source/active_record_basics.md
+++ b/guides/source/active_record_basics.md
@@ -116,7 +116,7 @@ to Active Record instances:
locking](http://api.rubyonrails.org/classes/ActiveRecord/Locking.html) to
a model.
* `type` - Specifies that the model uses [Single Table
- Inheritance](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#label-Single+table+inheritance).
+ Inheritance](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#class-ActiveRecord::Base-label-Single+table+inheritance).
* `(association_name)_type` - Stores the type for
[polymorphic associations](association_basics.html#polymorphic-associations).
* `(table_name)_count` - Used to cache the number of belonging objects on