Forum: Rails deployment Sessions in Rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
13bb97723b334ab6068c43719c75ad27?d=identicon&s=25 Leo M. (leo_m)
on 2011-05-25 16:02
I'm at my very first application in Rails, and I'm learning from Agile
Development with Rails.

I'm developing a web app that is run as a questionary.
The idea is to create a database of questions (like 50), but use only
like 10-15 each session, for each user.
You can start the questionary only if you give your email

The point I'm wondering about is : since the answers are multiples and
the sessions too, how can I keep track about whose belong certains
answers? Shall I haven't a pool of mixed answers?
I was thinking about a migration with 16 slots (email, and 15 slots for
each answer), could that work? I know it's not exactly in the DRY logic,
but in this way I'll have a complete table, with which I could also
calculate how many correct answer the user did, and statistics stuff
like that.
This topic is locked and can not be replied to.