How to use render & redirect_to together

Hi,

I needed to know a way or method of using render and reditect_to
methods.
At present using them both is giving me an error that both cant be used.

If not this an alternative approach would also help.

Thank You

Advait

On Dec 3, 2007 8:24 AM, Advait B. [email protected] wrote:

Advait

Posted via http://www.ruby-forum.com/.

What exactly are you trying to do and why?

You can’t use render and redirect_to at the same time. Either you’re
rendering a page, or you’re going to another page.

Jason

On Dec 3, 2007 8:37 AM, Jason R. [email protected] wrote:

rendering a page, or you’re going to another page.

Jason

Oh, and next time please use the Rails mailing list.
Jason

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs