Thanks for the advice Pedro, but unfortunately I've gone back to using the regular Camping paths. It's less RESTfull, but more robust.<br><br>if I was to call app/1/k, markaby (?) would show me the cookie name, same with (i) for italic 1, (b) for bold 1, and a few others.<br>
<br><div class="gmail_quote">On Sun, Feb 24, 2008 at 12:38 AM, pedro mg <<a href="mailto:seti@tquadrado.com">seti@tquadrado.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
i gave a quick look at the code and it seems you need to work out the<br>
route for "ping" on the Devices class. I'm not using reststop, but<br>
went to check it out.<br>
<br>
<a href="http://reststop.rubyforge.org/classes/Camping/Controllers.src/M000011.html" target="_blank">http://reststop.rubyforge.org/classes/Camping/Controllers.src/M000011.html</a><br>
<br>
def no_method(e)<br>
_error("No controller method responds to this route!", 501, e)<br>
end<br>
<br>
def not_found(e)<br>
_error("Record not found!", 404, e)<br>
end<br>
<br>
Seems those 501 are being delivered by reststop.<br>
...<br>
Or... you can try to change Reststop yourself ;) on your own risk,<br>
following or not the REST architecture :) </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><font color="#888888">pedro mg<br>
<a href="http://blog.tquadrado.com" target="_blank">http://blog.tquadrado.com</a><br>
_______________________________________________<br>
Camping-list mailing list<br>
<a href="mailto:Camping-list@rubyforge.org">Camping-list@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/camping-list" target="_blank">http://rubyforge.org/mailman/listinfo/camping-list</a><br>
</font></blockquote></div><br>