Skip to content

Latest commit

 

History

History
48 lines (23 loc) · 662 Bytes

File metadata and controls

48 lines (23 loc) · 662 Bytes

Active Record 数据库连接:底层适配,约定、配置

  • Model Schema

  • Naming Conventions

  • Schema Conventions

  • Timestamps

  • Core

  • Attribute

和属性的类型转换有关,在 Attribute Set 里会用到。尽管 Attribute Set 也属于底层。

  • Attribute Set

  • Attribute Decorators

相对而言较底层,使用 Rails 的话,一般不会直接用到的它们:

  • Connection Handling

  • Serialization

  • Migration DatabaseTasks

  • Statement Cache

  • Explain

  • Explain Registry

  • Explain Subscriber

  • Query Cache

  • Result

  • Runtime Registry

  • Sanitization

  • Legacy Yaml Adapter