Как лучше смоделировать следующую ситуацию:
Word
belongs_to :wordable, :polymorphic => true
Phrase
has_many :words, :as => :workable
belongs_to :story
Line
has_many :words, :as => :wordable
belongs_to :story
Story
has_many :lines
has_many :phrases
has_many :words, :through => :phrases
has_many :words, :through => :lines
я хочу уметь делать
@story.words
чтобы получить список всех слов, которые связаны с историей либо строками, либо фразами...
Это возможно?