Thank you Dmitry.
I'll ponder a bit on your remark, my initial gut feeling is that I do
want a singleton resource as I never want to expose more than 1 user.
Ever. Which is restful. But I'll think about it.

On Apr 21, 4:45 pm, Dmitry Sokurenko <[email protected]>
wrote:
> 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