Your question doesn't make enough sense. What are the exact models or  
table names that you want to update?

Sent from my iPhone

On 30/01/2009, at 4:01 AM, Sean Mcgilvray <[email protected] 
 > wrote:

>
> I have a form:
>
> <% form_tag :action => 'create' do %>
>  <%= hidden_field_tag 'plan', params[:plan] %>
>
>  <fieldset>
>    <% fields_for :account do |f| %>
>
>    <%= f.text_field :name %>
>
>      <%= f.text_field :domain %>.<%= AppConfig['base_domain'] %>
>    <% end %>
>  </fieldset>
>
>
>  <fieldset>
>    <% fields_for :user do |f| %>
>    <%= f.text_field :login %><br/>
>      <%= f.text_field :eservice %>  PPL Eservice Login (If Known)<br/
>>
>    <%= f.text_field :first_name  %><br/>
>    <%= f.text_field :last_name  %><br/>
>      <%= f.text_field :email %><br/>
>      <%= f.text_field :contact_number %><br/>
>      <label for="user_password">Password</label>
>      <%= f.password_field :password %><br/>
>      <label for="user_password_confirmation">Password Confirmation</
> label>
>      <%= f.password_field :password_confirmation %>
>    <% end %>
>  </fieldset>
>
> I would like to only have the second part of the form and have the
> fields first_name last_name update the account table name and have
> login update the account table domain.  Do you know how to do this?
>
> Thank you,
>
> Sean McGilvray
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to