title: Manually Creating Form Fields in Rails, How does rails auto populate fields when editing?
body: <p>I am creating a form in Rails by hand, ie:</p>
  
  <p><code>&lt;input type="number" name="funds_application[product_revenues_attributes][1][amount]"&gt;</code></p>
  
  <p>This works fine when submitting data, but when I am editing a record the fields do not auto populate. Does anyone know how rails does this? Do I need to use a <code>&lt;%= text_field_tag %&gt;</code> to get that part of it working. </p>
  
  <p>This is a small part of a larger form where I am using Simple_form, and the rest works as expected. I find complex forms sort of mind melting in rails, what does it want?</p>