Hey Ezra,<br><br> A redirect won't work as I need to return results from the merb call. Basically I am retrieving some xml from the rails action by calling merb. <br> If you stumble upon the session flush/store call, please ping me back...
<br><br>Thanks,<br>Fernand<br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Ezra Zygmuntowicz</b> <<a href="mailto:ez@engineyard.com">ez@engineyard.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Jan 15, 2007, at 6:40 PM, Fernand Galiana wrote:<br><br>> Thank you all for replying...<br>><br>> Now the key question here is how do I tell the session to persist<br>> before delegating<br>> to merb. It seems that the session gets persisted underneath the
<br>> scene by rails and<br>> my session state gets out of wack between rails and merb.<br>><br>> Thus if in my rails controller I have:<br>><br>> def my_action<br>> session[:fred] = "blee"
<br>><br>> # call merb<br><br>what does call merb do? You should do a redirect to merb. That way<br>rails will finalize the sessions before merb gets the result. If that<br>doesn't work then thereis a way to make the rails sessions flush but
<br>i can't recall what the method is right now.<br><br>Cheers-<br><br>-- Ezra Zygmuntowicz<br>-- Lead Rails Evangelist<br>-- <a href="mailto:ez@engineyard.com">ez@engineyard.com</a><br>-- Engine Yard, Serious Rails Hosting
<br>-- (866) 518-YARD (9273)<br><br><br></blockquote></div><br>