Hi i given in routes.rb as
map.resources :students, :member => [:departments => :get]
and rhtml i given link
<td><%=link_to "Departments", departments_student_url(student)
in students controller
@student= Student.find params[:id]
@departments = @student.departments
when i click the departments link it showing error like
undefined method `departments_student_url’ for
what’s a problem?
please sujjest any good link to study RESTful architecture in detail and
also in depth?