I'm trying to add original method "search" to the scaffolded controller. All the default standard methods in the controller (i.e. index, show, new, etc..). However, additional method "seach" is not recognized as method, and rather rails take the request as parameter with the following error message.
url: http://127.0.0.1:3000/products/search ActiveRecord::RecordNotFound in ProductsController#show Couldn't find Product with ID=search Changes I have made so far are: routes.rb map.search_product '/products/search', :controller => 'products', :action => 'search' Am I missing any setups? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

