It's often hard to keep up with changes in RoR, especially when you're
still learning. A lot information on the web is for older versions of
RoR. So I want to make sure this design using single-table inheritance
(STI) makes sense.

My design need is identical to this: I have a Quiz class, a Quiz
has_many Answers. Answers belong to a Student and a Question and
Answers can be types such as TrueFalse (a bool), MultipleChoice (a
string), Essay (a text), etc.

I want to query all the Answers for a particular Student and Quiz. Is
STI still the way to go for this? I am currently using Rails 2.3 but
have budgeted about a month to upgrade after Rails 3.0 is released.

TIA

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to