estammolefe
New Member
I have a rails 3.2 app and on one of my controllers actions (Edit) I call a helper method, in this helper method I have a call that looks like this:\[code\]order_xml = render_to_string artial => 'orders/show', :formats => [:xml], :locals => {rder => order, :transaction => transaction}\[/code\]On my edit.html.haml I have this:\[code\]= render @order.state\[/code\]In order to render a diferent partial for every state of the order, everything works fine until the helper method gets called and the order_xml sentence is executed, I have narrowed down to that line, but everytime I run this action I get this error:\[code\]This page contains the following errors:error on line 62 at column 10: Opening and ending tag mismatch: link line 0 and headBelow is a rendering of the page up to the first error.\[/code\]on my views directory I have: _show.xml.builder, _{state}.html.haml and other files, any ideas on what is going on here?Thank you in advanced.