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. In c++ it would be something like int doctors(int id);
int doctors(int id)
{
// code
}
If someone could be kind enough to tell me what to pass as id to
routes that would be really helpful. Tutorial links on routes in 2.3.5
would also be helpful. I don't want to upgrade to 3.0, because I've
already written a lot of it in rails 2.3.5.
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?

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