search for: aquired_points

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

2006 Jul 09
2
filters
...is equal to zero - - i have a params[:question_number] in the action ( the uri looks like www.localhost:3000/polls/questioniere/1?question_number=0) so i decided to run a before_filter :zeroize_point_if_start_questioniere where i defined it def.. if params[:question_number] == 0 @session[:aquired_points] = 0 end end it didn''t work. i checked to see if the before_filter was running, and it was(i put a false in there, and the page wasn''t rendered) and i also checked to see if the params[:question_number] was read as zero, and the test also worked out fine. (it read a zero) th...