The_programmer wrote: > Hi, > Routes.rb wants the id for doctors. I would love to give routes the > answer it is looking for, but I am not sure how to define an id in > rails.
Your question appears to make little sense as stated. Try again with more information: * What are you trying to achieve? * What does the relevant part of routes.rb look like? [...] > Tutorial links on routes in 2.3.5 > would also be helpful. You mean like the rdoc for the Routing class? > I don't want to upgrade to 3.0, because I've > already written a lot of it in rails 2.3.5. Not a great reason. You may not want to upgrade right away, but you should give some serious thought to doing so eventually. Since you've been developing test-first (you have, right?), this should be relatively easy. > Here is the error I am getting. > doctor_url failed to generate from > {:controller=>"doctors", :action=>"show"} - you may have ambiguous > routes, or you may need to supply additional parameters for this > route. content_url has the following required parameters: > ["doctors", :id] - are they all satisfied? And what code is giving you that error? Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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 rubyonrails-t...@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.