========================== Generated HTML: ==========================================================
  Create new
==================== Controller method ================================ def show @contact = Contact.find(params[:id]) end ===================== View ============================================= <%= render :partial => 'form' %> ===================== Partial ======================================
<%= select :contact, :account_id, @accounts, { :include_blank => true } %>   <%= link_to_remote 'Create new', :url => { :action => 'new_account' } %>