search for: all_questions_archive

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

Did you mean: all_questions_active
2011 Mar 28
0
Token Poken :( I'm stuck with this
..... he gets on this link, answer and click go and that''s all. If he want to get on this page once again he will get message something like "Sorry bro you already passed quiz". #answer_controller.rb class AnsweController < ApplicationController layout "default" $all_questions_archive = Question.count(''id'') $all_questions_active = Question.find(:all,:conditions=>"enabled=1").count def create @w1 = rand(9999999) @w = Digest::SHA1.hexdigest(@w1.to_s) @answers=Hash.new questions = Question.find(:all,:conditions=>"enable...