title: Rails: Model methods issue with saving
body: <p>I have a <code>text_area</code> named <code>answer_choices</code> in my form that's used for inputting answers (separated by a line break):</p>
  
  <pre><code>Some answer
  Another answer
  Yet another
  </code></pre>
  
  <p>So when a users submits the form, I parse <code>answer_choices</code> out into individual answers for input into the database using <code>answer_choices.split(/\r\n/)</code></p>
  
  <p>Then, when they edit the form, I reassemble those individual answers using this method:</p>
  
  <p>I have the following method in my <code>Question</code> model:</p>
  
  <pre><code>def answer_choices
    string = ''
  
    answers.each do |answer|
      string += "#{answer.text.to_s}\n"
    end
  
    string.strip
  end
  </code></pre>
  
  <p>That lets me just do <code>&lt;%= f.text_area :answer_choices %&gt;</code> in my view and I get the answers separated by line breaks. Great.</p>
  
  <p>The problem is that when I submit the form again (to update the records), that little <code>answer_choices.split(/\r\n/)</code> bit seems to be calling that custom method instead of taking any new data from the form field and thus just re-adds the same data from before.</p>
  
  <p>So how can I have my custom method for the form output?</p>