Displaying 1 result from an estimated 1 matches for "asked_questions".
2008 Jun 06
1
STI vs Polymorphism
Hello everyone,
I am racking my brain with a modelling question and can''t wrap my around
the benefits of STI or Polymorphisms.
I am trying to model Questions and Answer behavior but I think I am not
using rails full power here.
I have (in simple terms)
Question
has_one Answer
Answer
belongs_to Question
I also have
Topic
has_many Posts
Post
belongs_to Topic
Now i am