I have one record in a database that is encountering a redirect loop.
When I point my browser to "www.sitenamehere.co.uk/case_studies/1", it
displays a redirect loop error message.
When I point my browser to "www.sitenamehere.co.uk/case_studies/2", it
does not.
Now, when I point my browser to
"www.sitenamehere.co.uk/case_studies/show/1", no error occurs and the
page is displayed exactly as it should.
Also, when I point my browser to
"www.sitenamehere.co.uk/case_studies/show/2", no error occurs and the
page is displayed exactly as it should.
What is the problem here? My routes are set up correctly when I review
the output of rake routes.
If there's any code you need, please ask. However, I assume someone has
encountered this before.
--
Posted via http://www.ruby-forum.com/.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment