|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 . Thank You Advait -- Posted via http://www.ruby-forum.com/. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 . > > Thank You > > 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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 . > > > > Thank You > > > > 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 > Oh, and next time please use the Rails mailing list. Jason |
|
![]() |
| Outils de la discussion | |
|
|