app/controllers/article_threads_controller.rb
# questionnaire's answer version of adding_responder
questionnaire's answer version of adding_responder
questionnaire ' s answer version of adding_responder
def adding_answer_responder
    article = find_entity 
    @thread = article.a_thread
    @question_entities = article.questionnaires
    base_div_id = params[:base_div_id]    
    @answer_responder = article.answer_responder(@thread)
    @def_answer_responder_form_items = Def_Answering_Form_Items
    @answer_responder_form_items     = Answering_Form_Items
    render :update do |page|  
       page.replace_html base_div_id, 
            :partial => "article_threads/answer_responder", 
            :object  => @answer_responder
      end
  end
def adding_answer_responder article = find_entity @thread = article . a_thread @question_entities = article . questionnaires base_div_id = params [ :base_div_id ] @answer_responder = article . answer_responder ( @thread ) @def_answer_responder_form_items = Def_Answering_Form_Items @answer_responder_form_items = Answering_Form_Items render :update do | page | page . replace_html base_div_id , :partial => "article_threads/answer_responder" , :object => @answer_responder end end
questionnaire's answer version of adding_responder
questionnaire ' s answer version of adding_responder
# article with questionnaire # id of div to add