How to create a new page using link_to and how to do searching in the page created?


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

3)in views i have

for searching i have added a method called “get_results” in controller
and result is captured in

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?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs