Sorry guys, reply sent this to just Koz instead of this list... stupid gmail.
On 1/10/06, Kevin Clark <[EMAIL PROTECTED]> wrote: > > If you can reliably detect that we have a problem, then no it's not a > > big deal at all. In fact it's a great enhancement. But how are you > > going to do that? > > Koz, > I'm not suggesting we solve the redirecting back to self issue; that > is a whole different can of worms. My intial patch simply added an > exception so if someone called redirect_to :back with a nil > request["HTTP_REFERER"] it would display a helpful error instead of > the other error (I don't remember at this point, my code is patched) > which didn't really say what the problem was. I agree with David that > anything more complex should be left out of core, but do like good > error messages. > > Kev > _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core