search for: mjudge

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

Did you mean: judge
2006 Apr 23
4
Penalties of using an eval on every request
Hello RoR! I''m building a rails app for hosting multi-page surveys. I set up questionnaire, question, and question_component models. Now I''m initializing them with some data. survey.rb q1 = Question.new "q1" q1.quote "Welcome to a test of the new interviewing system." q2 = Question.new "q2" q2.quote "Do you like pie?"
2006 Jan 24
0
Verbose traces (debugging question)
Is there a way to coax a verbose trace out of Ruby on Rails? For example, I just received this execution dump: undefined method `pr'' for {"Q-SA1"=>"3"}:Answers #{RAILS_ROOT}/app/models/interview.rb:58:in `self_eval'' (eval):6:in `self_eval'' #{RAILS_ROOT}/app/models/interview.rb:57:in `self_eval''
2005 Dec 15
2
.rhtml in the model rather than the controller
Hi, I''m developing a mini-programming language for research surveys. [code] question S1 { label: The first few questions are just to help us categorize you. label: Do you or does any member in your household work for... (MARK ONE ONLY FOR EACH.) grid { col { 1 Yes 2 No } row { 1 An advertising agency 2 A public relations company 3 A marketing research firm or