has_many :through Association Diagram. 上例對應的遷移看起來會像是: ... has_and_belongs_to_many Association Diagram ... 一種更進階的關聯用法是多型關聯。
確定! 回上一頁