PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > how to use render & redirect_to together
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
how to use render & redirect_to together

Réponse
 
LinkBack Outils de la discussion
Vieux 03/12/2007, 13h24   #1
Advait Bellur
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 .

Thank You

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

  Réponse avec citation
Vieux 03/12/2007, 13h37   #2
Jason Roelofs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to use render & redirect_to togethe

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

  Réponse avec citation
Vieux 03/12/2007, 13h39   #3
Jason Roelofs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to use render & redirect_to togethe

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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h01.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11079 seconds with 11 queries