I am using rails 3 for my application.
My problem is REST routing helper function is not working.
In my routes.rb I have following code:-
resources :user do
get ‘search_form’, ‘search’
I have index.html.erb like as follows:-
When I run the application I am getting following error:-
“undefined local variable or method `search_form_user_url’ for
Can anyone tell me What is the wrong with code?