# You are being redirected

**URL:** <https://www.ruby-forum.com/t/you-are-being-redirected/62240>\
**Category:** Rails\
**Created:** [June 1, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240 "2006-06-01T19:51:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Why\_the\_redirect](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@Why\_the\_redirect](https://www.ruby-forum.com/u/Why_the_redirect)\
**Post date:** [June 1, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240/1 "2006-06-01T19:51:06Z")

</div>

“You are being redirected.” now being displayed when I go to my page.  
Before it would take me to the page that I specified as the one I wanted  
to load.

I recently upgraded to the latest Rails (1.1.2 I think).

Chris

---

<div class="post-metadata">

**Author:** ![Why\_the\_redirect](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@Why\_the\_redirect](https://www.ruby-forum.com/u/Why_the_redirect)\
**Post date:** [June 1, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240/2 "2006-06-01T19:57:53Z")

</div>

On 6/1/06, Why the redirect? [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> “You are being redirected.” now being displayed when I go to my page.  
> Check config/routes.rb? Specifically the line that says:  
> map.connect ‘’, :controller =\> “welcome” should be uncommented and  
> you’ll get your welcome controller by default.

---

<div class="post-metadata">

**Author:** ![Why\_the\_redirect](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@Why\_the\_redirect](https://www.ruby-forum.com/u/Why_the_redirect)\
**Post date:** [June 1, 2006, 8:14pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240/3 "2006-06-01T20:14:40Z")

</div>

“You are being redirected.” is being rendered from my “content/index”  
which does redirect to “content/list”. Before my upgrade to 1.1.2, it  
didn’t give me a stale screen with “You are being redirected.”

The text is not sent from routes.rb. That file is correctly sending the  
visitor to “content/index”.

When I tried to change routes.rb to read

map.connect “”, :controller =\> “content”, :action =\> “list”

It gave me a circular error that always showed “You are being  
redirected.”

You can see the delima at [mudbowl.winslettdesign.com](http://mudbowl.winslettdesign.com)

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![Why\_the\_redirect](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@Why\_the\_redirect](https://www.ruby-forum.com/u/Why_the_redirect)\
**Post date:** [June 1, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/you-are-being-redirected/62240/4 "2006-06-01T20:19:56Z")

</div>

The reason the “You are being redirected.” was being displayed on the  
screen is improper caching on my part.

I was a caching an action that was redirecting.
