Form_remote_for with collection_select

I am having trouble converting a form from form_remote_tag to
form_remote_for. The text fields on lines 3-5 work fine, but I can’t get
the collection_select on line 2 working (wrong number of arguments
error).

1 <% form_remote_for (:name, name, :url => {:action => ‘update_name’,
:name => name, :id => @person}) do |f| %>
2 Title:<%= f.collection_select(:name, :title_id,
@titles, :id, :name) %>


3 First:<%= f.text_field :first_name %>


4 Middle:<%= f.text_field :middle_name %>


5 Last:<%= f.text_field :last_name %>


6 <%= submit_tag ‘Edit’ %>
7 <% end %>

Any thoughts?