Displaying 2 results from an estimated 2 matches for "surveycomplete".
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''