ryan satterfield wrote: > Thank you for the reply Marnen. > Yes, the rdoc for routes 2.3.5 would be very helpful.
Then look it up at http://www.railsapi.com or anywhere else. ActionController::Routing and ActionController::Resources are the modules to start with. > I am trying to > make my > Routes allow multiple doctors to have accounts. Since I won't know what > Doctor is logging in, Of course you will! Why do you think you won't? > I am not sure what to give as the id. This is the > relevant piece of my routes. > > map.resources :doctors Please read the Resources rdoc as recommended above and most will come clear. Also, you probably shouldn't be using map.resources :doctors for your login interface. That's meant for things like displaying information about particular doctors. Please see how plugins such as Authlogic recommend setting up your controllers and routes for login. > > that is all I have for the relevant part of my code. No it isn't. What's handling the login? > The routes.rb not being given the id is the cause for the error. Right, but we have to see the code (probably your controller action) that should be supplying that id. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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.

