yes there are nil I did not check that but now I get:<br><br> You are being <a href="http://localhost:3000/management/questions/120?participant_id=95">redirected</a>.<br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 4:53 PM, Matthew Rudy Jacobs <span dir="ltr"><<a href="mailto:matthewrudyjacobs@gmail.com">matthewrudyjacobs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">that should work<br>are params[:status] and params[:participant] nil in your use-case?<br><br>
<div class="gmail_quote"><div><div></div><div class="h5">On 28 April 2010 23:51, Riccardo Tacconi <span dir="ltr"><<a href="mailto:rtacconi@gmail.com" target="_blank">rtacconi@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">With this code:<br><br> redirect_to(<br>
:controller => "management",<br>
:action => "questions",<br> :id => @question.configuration_id,<br> :participant_id => params[:participant_id],<br>
:status => params[:status]<br> )<br><br>I am trying to redirect to a url similar to this one: <a href="http://localhost:3000/management/questions/120?participant_id=95&status=HOST_INBOX" target="_blank">http://localhost:3000/management/questions/120?participant_id=95&status=HOST_INBOX</a><br>
<br>But I get redirected to: <a href="http://localhost:3000/management/questions/120" target="_blank">http://localhost:3000/management/questions/120</a><br><br>From Rails's API seems that it is possible to have that redirect only using:<br>
<br> redirect_to(<br> "/management/answers/8742?participant_id=95&status=HOST_INBOX_READ"<br> )<br><br>Is that correct?<br><br>Thanks,<br clear="all"><br>-- <br>Riccardo Tacconi<br>Web developer at Wolseley UK <br>
VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi" target="_blank">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/" target="_blank">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi" target="_blank">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>
<br></div></div>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Riccardo Tacconi<br>Web developer at Wolseley UK <br>VIRTUELOGIC LIMITED (Director)<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br>
<a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br><a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>