That makes more sense. It's much better when people take time to form  
their questions.

I have one question tho - how will you link the user to their account?

Anyway, in the destination action of
The form - its target - you need to specify two "new" methods rather  
than just one. Let me know if you need more explanation

Sent from my iPhone

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

>
> Julian Leviston wrote:
>> 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]
>
> My tables are:
> 1. Users
>   Field 1: login
>   Field 2: eservice
>   Field 3: first_name
>   Field 4: last_name
>   Field 5: email
>   Field 6: contact_number
>   Field 7: password
>   Field 8: Password Confirmation
>
> 2. Account
>   Field 1: name
>   Field 2: domain.<%= AppConfig['base_domain'] %>
>
> I want to only have the user part of the form filled out.  When
> submitted have it update the users table and the account table.  It
> should take the first_name + last_name fields from users and save them
> into the account table in the name field.  Then I want it to take the
> users login and save it to the account table domain field.  I am  
> trying
> to not the user put the same information in twice for registration.
>
> 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