Radio button problem

That should do it. The radio_button helper will mark the appropriate button based on the value of @questionnaire.field_name. The first will be marked if the value is "Y" and the second will be marked if the value is "N". To get a default value, assign it when you create @questionnaire in your controller:

  @questionnaire = Questionnaire.new(:field_name => "N")