Forum: Ruby on Rails You are being redirected.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Why the redirect? (Guest)
on 2006-06-01 21:51
"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
Hasan D. (Guest)
on 2006-06-01 21:57
(Received via mailing list)
On 6/1/06, Why the redirect? <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.
Why the redirect? (Guest)
on 2006-06-01 22:14
"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

Thanks,
Chris
Why the redirect? (Guest)
on 2006-06-01 22:19
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.
This topic is locked and can not be replied to.