Displaying 1 result from an estimated 1 matches for "truefalsequestionscontroller".
2006 Jan 25
6
cant convert integer to string
...estions/list/0#> |
Framework
Trace <http://zbyte32:3000/true_false_questions/list/0#> | Full
Trace<http://zbyte32:3000/true_false_questions/list/0#>
./script/../config/../app/controllers/true_false_questions_controller.rb:9:in
`[]''
here''s the code snippet:
class TrueFalseQuestionsController < ApplicationController
def index
list
render :action => ''list''
end
def list
if params[:id]
@true_false_question_pages, @true_false_questions = paginate
TrueFalseQuestion.find_all["tests_id = ?"+ params[:id]], :per_page => 10
else...