Newbie Question (belongs_to and has_many)

  has_many :test_questions

  def add_question(question)
    @test_questions << question
  end

try this instead:

def add_question(question)
   test_questions << question
end

'test_questions' is not an instance variable (words proceeded by @
signs), it is a method added by has_many.

Hope that helps,

Steve