Okay, yes, it does save the correct value (I turned log level all on as well, and I see the call). Thanks a lot, you&#39;ve been very helpful.<div><br></div><div>Another question: how can I verify that the page looks correct once I get back from the call? I want to check that the editor form is gone once the call has finished. But since the html the the browser variable is not that of the original page, but rather of something else, how can I check that the return page looks correct?</div>
<div><br></div><div>Sincerely</div><div><br></div><div>Nina<br><div><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 11:38 PM, Jari Bakken <span dir="ltr">&lt;<a href="mailto:jari.bakken@gmail.com">jari.bakken@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On 2. april. 2009, at 20.14, Nina Jansen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jari<br>
<br>
No, doesn&#39;t make any difference. Still makes a get request to <a href="http://localhost/foos/1/?value=New+name" target="_blank">http://localhost/foos/1/?value=New+name</a> instead of the correct request.<br>
</blockquote>
<br></div>
That&#39;s strange. It seems to work fine for me when setting that option:<br>
<br>
<a href="http://gist.github.com/89503" target="_blank">http://gist.github.com/89503</a><br>
<br>
Notice the output from HtmlUnit: INFO: Re-synchronized call to <a href="http://localhost:3001/foos/set_foo_name/1" target="_blank">http://localhost:3001/foos/set_foo_name/1</a><br>
<br>
As you can see, running the original script gives me the URL parameters as well - not sure where those are coming from. Perhaps it&#39;s related to if the value was actually changed or not - Rails/Scriptaculous will avoid the UPDATE db call if the new value is the same as the old one?<div>
<div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Celerity-users mailing list<br>
<a href="mailto:Celerity-users@rubyforge.org" target="_blank">Celerity-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/celerity-users" target="_blank">http://rubyforge.org/mailman/listinfo/celerity-users</a><br>
</div></div></blockquote></div><br></div></div>