The "update" action of my controllers and under certain circumstances creates a xml file on the filesystem. Using an after_filter that only gets called after the update action I create the XML file. Problem is, I get a DoubleRenderError because the update action either calls redirect_to or render. I can get around the render call by calling performed?() but the call to redirect_to always chokes the rendering of the xml file. Any ideas on how I can achieve this behaviour ? Or is there a more railish way to do the same thing ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---