srikanth
2008-Dec-15 07:09 UTC
how to create a new page using link_to and how to do searching in the page created ?
hi, I have implimented a application for searching the streams from streams table. Presently if i invoke the index page i am seeing the listing of all streams and search box on the same page and after searching, the result is displaying on the same page with all the streams presently available in the streams table.. To implement this i have: 1)one controller e.g.streams_controller.rb 2)one model e.g.stream.rb 3)in views i have index.html.erb show.html.erb new.html.erb edit.html.erb _search.html.erb for searching i have added a method called "get_results" in controller and result is captured in _search.html.erb Now i want to do is searching in different page and result should display on that page. Can any one give suggestions to do this? thanks Srikanth --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---