Hi

     You can look at :collection This is likein your routes.rb you can 
add

map.resources :people, :collection => {:search => :any}

    I am assuming map.resources :people is already there
Now you can have a method search in people controller and the 
corresponding view may/maynot in view/people


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