I have this quiz rails app linked to an IRC bot who asks questions (yes, on IRC), where I have this Question
model which contains, well, questions, answers, hints, and a few more things.
I started with Quiz
model (like, say, the special Halloween or Christmas quiz) with a quiz_id
in the questions
table, then, I told myself, that it would be nice to be able to categorize the questions, so I added a Category
model (like, say, Movies or Books), with a category_id
in the questions
.
Now, my users would like to be able to add a question to one or more quiz, and to assign one or more categories to questions…
So, I've been thinking about removing the Quiz
and Category
models and replace them with tags, so that, there will be a halloween tag, a movie tag, and a question can have "halloween movie christmas" for tags.
In my searchs, I've seen quite a few ways to include tags like acts_as_taggable
, acts_as_taggable_on_steroids
or whatever else someone has imagined :-)
Now, I'm wondering what I should do, and so, I'm asking, what you have done, how you've done it, why you did it this way.