search for: quest_seq

Displaying 3 results from an estimated 3 matches for "quest_seq".

2006 Mar 28
1
Rails generates query with reserved word for field name
...create table questions ( ID char(36) not null primary key, PARENT_ID char(36) not null, presentation_id char(36) not null, seq integer not null, foreign key (PARENT_ID) references quizzes(ID), foreign key (presentation_id) references presentations(ID) ); create unique ascending index quest_seq on questions (PARENT_ID,SEQ);
2006 Apr 20
1
Rails is losing key information
...tion_id INTEGER not null references presentations(ID), seq integer not null, points integer default 0 not null, time_allowed integer, tip_presentation_id INTEGER references presentations(ID), explanation_presentation_id INTEGER references presentations(ID) ); create unique ascending index quest_seq on questions (PARENT_ID,SEQ); create generator presentations_seq; create generator quizzes_seq; create generator questions_seq; ---------------------------------- Ruby model class: ---------------------------------- class Question < ActiveRecord::Base require ''presentations'...
2006 Apr 02
2
"Quiz" site
Hi, I am thinking about how to best design a quiz site in RoR. I think it should be fairly easy, but have run into a wall. In the simplest form, the view would grab all of the questions for a particular quiz and display them (e.g. multiple choice, so 4 option buttons per question). However, I can''t figure out how to "mark" the quiz. The form is submitted to the