# Redirector in ruby

**URL:** <https://www.ruby-forum.com/t/redirector-in-ruby/148683>\
**Category:** Ruby\
**Created:** [September 16, 2008, 7:56am UTC](https://www.ruby-forum.com/t/redirector-in-ruby/148683 "2008-09-16T07:56:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajatgarg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Post date:** [September 16, 2008, 7:56am UTC](https://www.ruby-forum.com/t/redirector-in-ruby/148683/1 "2008-09-16T07:56:49Z")

</div>

Hi Guys,  
I am trying to avoid to use iframes to display content on my website, so  
here is what I have in mind.

1. On page load, controller calls the url, gets the results (parse it)  
and  
displays on the site. How do I do it?
2. User can fill the details in the html rendered (a form) and may  
request a  
response. On that, I call the controller and display the relevant  
results  
back. Again, how do I do it?

I am relatively new to this so any help will be appreciated.

Thanks,

–  
Rajat G.

Ph: 206-499-9495  
Add: 16140 SE EastGate Way APT E-204  
Bellevue, WA 98008  
Web: [http://www.pilotoutlook.com](http://www.pilotoutlook.com)
