Is there a way to render actions from different controllers? Now you''re probably thinking "why isn''t he using redirect_to?". Well, because I need to display validation-errors on that view and those informations would be lost if I use redirect_to. Sounds a bit complicated? Tthe following pastie illustrates the problem (check line 30): http://pastie.textmate.org/362540 Does anyone have a "restful" solution to this problem? Saludos Javier --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
* Javier_CH <vazqujav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [2009-01-16 09:08:57 -0800]:> > Is there a way to render actions from different controllers? Now > you''re probably thinking "why isn''t he using redirect_to?". Well, > because I need to display validation-errors on that view and those > informations would be lost if I use redirect_to. > > Sounds a bit complicated? Tthe following pastie illustrates the > problem (check line 30): > > http://pastie.textmate.org/362540I think you can do render :template => ''articles/show'' Jan> > Does anyone have a "restful" solution to this problem? > > Saludos > Javier > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en > -~----------~----~----~----~------~----~------~--~----- jan=callcc{|jan|jan};jan.call(jan)