title: syntax error, unexpected ',', expecting ')' RoR
body: <p>I am trying to get a collection select from an another model and I keep getting the above error. Looked everywhere, got rails casts but nothing makes sense.</p>
  
  <p>_form.rb</p>
  
  <pre><code> &lt;%= f.label :city %&gt;&lt;br /&gt;
   &lt;%= f.collection_select (:share ,:city_id, City.all , :id, :name ) %&gt;
  </code></pre>
  
  <p>It highlights 'form' on the error report</p>
  
  <pre><code>&lt;h1&gt;New share&lt;/h1&gt;
  &lt;%= render 'form' %&gt;
  &lt;%= link_to 'Back', shares_path %&gt;
  </code></pre>
  
  <p>Here are my models...</p>
  
  <pre><code>class Share
    include Mongoid::Document
    field :name, type: String
    field :type, type: String
    field :summary, type: String
    field :description, type: String
    field :city, type: String
  
    embedded_in :city
    has_many :category
  end
  
  class City
    include Mongoid::Document
  
    embedded_in :share
  
    field :name, type: String
    field :country, type: String
  
    attr_accessible :name, :city_id, :id
  
  end
  </code></pre>
  
  <p>Searched everywhere and I cannot figure it out. It must be something silly.</p>