@questionresponse = @question.question_responses.build(params[:questionresponse])
The models should probably be Question and QuestionResponse. The
capitalisation is important. Then the tables are questions and
Assuming that you have Question has_many :question_responses and
QuestionResponse belongs_to :question then the relationships are also
named question and question_response.
>> @questionresponse =
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at