<% answers = answer.respond_to?(:answer) ? answer.answer : answer %> <%= text_area_tag 'answer[text]', answers, {rows: 10, data: { last: answers } } %>
Characters remaining:
<%= render partial: "quiz/answer_errors", locals: {question: question, answer: answer} %>