Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
how to use render & redirect_to together
Advait Bellur
12/3/2007 1:25:00 PM
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
--
Posted via
http://www.ruby-...
.
2 Answers
Jason Roelofs
12/3/2007 1:38:00 PM
0
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
On Dec 3, 2007 8:24 AM, Advait Bellur <advait.bellur@yahoo.co.in> wrote:
>
> 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
> --
> Posted via
http://www.ruby-...
.
>
>
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
Jason Roelofs
12/3/2007 1:40:00 PM
0
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
On Dec 3, 2007 8:37 AM, Jason Roelofs <jameskilton@gmail.com> wrote:
> On Dec 3, 2007 8:24 AM, Advait Bellur <advait.bellur@yahoo.co.in> wrote:
>
> >
> > 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
> > --
> > Posted via
http://www.ruby-...
.
> >
> >
> 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
>
Oh, and next time please use the Rails mailing list.
Jason
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
how to use render & redirect_to together
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password