Just make users a collection (map.resources :users), then everything
will work fine. Or if your really want it to be a singleton (bad idea,
not restfull if you have more than 1 user in your app), then use
form_for :user, :object => @user.

Dmitry
--~--~---------~--~----~------------~-------~--~----~
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