search for: question_set

Displaying 1 result from an estimated 1 matches for "question_set".

2009 May 06
3
Using ActiveRecord in FXRuby application
...or this purpose. My code works fine when I don''t require fox16 and include Fox. But once I do that I get a bunch of warnings. Here is the sample code: require ''rubygems'' require ''active_record'' require File.expand_path(File.dirname(__FILE__) + "/question_set") # require ''fox16'' # include Fox question_set = QuestionSet.new 3.times do question = Question.new 4.times do choice = Choice.new question.choices << choice end question_set.questions << question end question_set.save! QuestionSet, Question...