Can a single record from a polymorphic model belong to two (or more) models at the same time?
问题 General newbie question: If I have a polymorphic model called Message , and two other models called Filter and User with has_many: messages, as ... association on both. Can a single record from Message belong to User and Filter models at the same time? For example, can I do: ... User.find(1).messages << Message.find(1) Filter.find(1).messages << Message.find(1) ... and have Message#1 available in in User#1 and Filter#1 ? The RailsGuides gives a very brief explanation, so this aspect is still