title: Rails money gem and form builder
body: <p>I'm having an issue with the forms and the <a href="https://github.com/RubyMoney/money" rel="noreferrer">money gem</a>. </p>
  
  <p>This is my problem:</p>
  
  <ol>
  <li>I create a record which has an "amount" field (mapped to money object). Let's say I enter 10 (dollars).</li>
  <li>The money gem converts it to 1000 (cents) </li>
  <li>I edit the same record and the form pre-populates the amount field as 1000</li>
  <li>If I save the record without changing anything, it will convert the 1000 (dollars) to 100000 (cents)</li>
  </ol>
  
  <p>How do I make it display the pre-populated amount in dollars instead of cents? </p>
  
  <p>Edit:</p>
  
  <p>I tried editing the _form.html like this:</p>
  
  <pre><code>= f.text_field(:amount, :to_money)
  </code></pre>
  
  <p>and I get this error:</p>
  
  <pre><code>undefined method `merge' for :to_money:Symbol
  </code></pre>