Most time, you can put a reference manual in your desk. When you can't confirm the settings , you can find it very quickly. For example : Rails: Up and Running, Second Edition Appendix B
http://cachefly.oreilly.com/oreilly/pdfs/9780596522001_appendixB.pdf On Apr 21, 10:55 pm, Harm <harmaa...@gmail.com> wrote: > 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 <dmitry.sokure...@gmail.com> > 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---