title: Simple Form Collection - drop down menu
body: <p>I am using Simple Form in my rails app.</p>
  
  <p>I have a form to create a profile where users select their universities. Profiles belong to Universities. </p>
  
  <pre><code> &lt;%= f.association :university, collection: University.all(id: 'name'), prompt: "Choose your university" %&gt;
  </code></pre>
  
  <p>My db has a list of 10 universities in it, they are stored with the attribute: 'name' in the Universities table. </p>
  
  <p>I'm trying to make a drop down list in the profile create form which has a list of those 10 univerisites. I've tried the above association. I get an error which says:  Unknown key: id</p>
  
  <p>Does anyone know how to do this?</p>
  
  <p>Thank you</p>