We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04f433 commit 826b068Copy full SHA for 826b068
source/zh-CN/active_record_basics.md
@@ -68,7 +68,7 @@ Active Record 中的“多约定少配置”原则
68
* `created_at` - 创建记录时,自动设为当前的时间戳;
69
* `updated_at` - 更新记录时,自动设为当前的时间戳;
70
* `lock_version` - 在模型中添加[乐观锁定](http://api.rubyonrails.org/classes/ActiveRecord/Locking.html)功能;
71
-* `type` - 让模型使用[单表集成](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#label-Single+table+inheritance);
+* `type` - 让模型使用[单表继承](http://api.rubyonrails.org/classes/ActiveRecord/Base.html#label-Single+table+inheritance);
72
* `(association_name)_type` - [多态关联](association_basics.html#polymorphic-associations)的类型;
73
* `(table_name)_count` - 缓存关联对象的数量。例如,`posts` 表中的 `comments_count` 字段,缓存每篇文章的评论数;
74
0 commit comments