Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Um controller chamando outro controller
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcelo Moacir Florindo  
View profile   Translate to Translated (View Original)
 More options Jul 3, 11:22 pm
From: Marcelo Moacir Florindo <marceloflori...@gmail.com>
Date: Sat, 4 Jul 2009 00:22:35 -0300
Local: Fri, Jul 3 2009 11:22 pm
Subject: Um controller chamando outro controller

Galera,

Estou meio perdido...hahahahahh

O seguinte:

tenho o controller precos e o controller familiaprodutos

como eu consigo chamar o controller familiaprodutos através do precos?

O localhost:3000/precos está funcionando.

Obrigado a todos,

--
Marcelo Moacir Florindo
Analista/Desenvolvedor
http://www.gestaotec.com.br


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Fernandes Steimbruch  
View profile   Translate to Translated (View Original)
 More options Jul 4, 12:36 am
From: Pedro Fernandes Steimbruch <pedrofsteimbr...@gmail.com>
Date: Sat, 4 Jul 2009 01:36:10 -0300
Local: Sat, Jul 4 2009 12:36 am
Subject: Re: [rails-br] Um controller chamando outro controller

Acho que a dúvida não está bem exposta.

Tenta explicar melhor. Qual o objetivo?

Att,
Pedro F. S.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcio Trindade  
View profile   Translate to Translated (View Original)
 More options Jul 4, 11:48 am
From: Marcio Trindade <marciotrind...@gmail.com>
Date: Sat, 4 Jul 2009 08:48:54 -0700 (PDT)
Local: Sat, Jul 4 2009 11:48 am
Subject: Re: Um controller chamando outro controller
Pra que você precisaria chamar um controller dentro de um metodo de
outro?
O que normalmente é utilizado é dentro de um método de um controller
você usar outros models.

Se forem ações separadas então com um redirect_to vc pode sair de um e
ir ao outro controller.

Marcio Trindade
http://marciotrindade.com/

On Jul 4, 12:22 am, Marcelo Moacir Florindo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
 Victor Sobreira  
View profile   Translate to Translated (View Original)
 More options Jul 4, 12:07 pm
From:  Victor Sobreira <victor...@gmail.com>
Date: Sat, 4 Jul 2009 13:07:14 -0300
Local: Sat, Jul 4 2009 12:07 pm
Subject: Re: [rails-br] Re: Um controller chamando outro controller

Procura entender sobre rotas namespace.Voce pode poder fazer ver a umas
modificacoes pra trazer a as familias dos produtos
ex:

/produtos/1/familiaprodutos

2009/7/4 Marcio Trindade <marciotrind...@gmail.com>

--
Atenciosamente,
 Victor Sobreira

Celular: (88) 8812-6922 / (85) 8719-3391 / (85) 9901-7397
Msn / Gtalk: victor...@gmail.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vinicius Luiz  
View profile   Translate to Translated (View Original)
 More options Jul 4, 12:23 pm
From: Vinicius Luiz <mcp.vinic...@gmail.com>
Date: Sat, 4 Jul 2009 13:23:24 -0300
Local: Sat, Jul 4 2009 12:23 pm
Subject: Re: [rails-br] Re: Um controller chamando outro controller

se voce fizer

redirecto_to :controller => "controle", :action => "acao", :parametro =>
"parametro"

vai te passar de um controller para outro sem problemas..
att,

2009/7/4  Victor Sobreira <victor...@gmail.com>

--
att,

Vinicius Luiz
Skype/Yahoo: vinicius.luiz
MSN: vinicius...@hotmail.com
Gtalk: mcp.vinic...@gmail.com
Twitter: http://twitter.com/vinicius_luiz

----------------------------------------------

           Analista Desenvolvedor - TI
CETAM Ltda. - Centro de Tecnologia da Amazônia

when there is no place in hell, the dead walked the earth!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcelo Moacir Florindo  
View profile   Translate to Translated (View Original)
 More options Jul 4, 3:02 pm
From: Marcelo Moacir Florindo <marceloflori...@gmail.com>
Date: Sat, 4 Jul 2009 16:02:06 -0300
Local: Sat, Jul 4 2009 3:02 pm
Subject: Re: [rails-br] Re: Um controller chamando outro controller

Me desculpem pela não explicação correta.
Mas seria isto que o Vinicius falou.

Obrigado.

Marcelo

2009/7/4 Vinicius Luiz <mcp.vinic...@gmail.com>

--
Marcelo Moacir Florindo
Analista/Desenvolvedor
http://www.gestaotec.com.br

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcio Trindade  
View profile   Translate to Translated (View Original)
 More options Jul 4, 9:04 pm
From: Marcio Trindade <marciotrind...@gmail.com>
Date: Sat, 4 Jul 2009 18:04:54 -0700 (PDT)
Local: Sat, Jul 4 2009 9:04 pm
Subject: Re: Um controller chamando outro controller
Neste caso recomendo usar as rotas nomeadas do rails em vez de haash
com parametros.

exemplo:
products_path ou products_url para caminho completo.

Marcio Trindade
http://marciotrindade.com/

On Jul 4, 4:02 pm, Marcelo Moacir Florindo <marceloflori...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google