Displaying 1 result from an estimated 1 matches for "answecontrol".
2011 Mar 28
0
Token Poken :( I'm stuck with this
...is? Iand i can
give him link, and link should be like : localhost:3000/token .. 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)...