Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要帮助以使一个模型属于任何其他模型,多态方式?作为一个例子,我想使用评论模型,它可以属于用户、帖子和其他一些实体?
我认为你应该通过 play 的基本教程来证明这一点。