title: Rails proper way to display fields from another model in a view
body: <p>I have two models, one named Order and the other named Member.
  In my Order model I have:</p>
  
  <pre><code>has_many :members, :dependent =&gt; :destroy
  accepts_nested_attributes_for :members
  </code></pre>
  
  <p>and in my Member model I have:</p>
  
  <pre><code>belongs_to :order
  </code></pre>
  
  <p>My members database has a name field thats a string. Now my question is, how do I display that field from my members database in my orders view. Would I use a fields_for tag? Basically what I want is an Order form, but also on the same page to fill out information about the Members for your order and it to save that information to the members database instead of in the orders database.</p>
  
  <p>For example something like this:</p>
  
  <pre><code>Your name: textfield
  Member 1 name: textfield
  Member 2 name: textfield
  </code></pre>
  
  <p>How would i do this? is it possible to create more than one name field for the members without having to copy and paste it multiple times such as with a loop?</p>
  
  <p>Thanks in advance!</p>