Tobie:

See http://dev.rubyonrails.org/changeset/5986 for an example of using  
the built-in HTTP server (WEBrick) test environment for
testing stuff like this.

You can add:

@server.mount_proc("/JSON") do |req, res|  ...

Then just spit back stuff, depending on params.

Best,
Thomas


Am 26.01.2007 um 11:27 schrieb tobie:

>
> Patch posted: http://dev.rubyonrails.org/ticket/7295
>
> and live tests:
>
> http://sandbox.tobielangel.com/prototype/rev_6028/trunk/test/unit/ 
> string.html
> (with benchmarks)
> http://sandbox.tobielangel.com/prototype/rev_6028/trunk/test/unit/ 
> ajax.html
>
>
> >

--
Thomas Fuchs
wollzelle

http://www.wollzelle.com

questentier on AIM
madrobby on irc.freenode.net

http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 JavaScript
http://mir.aculo.us :: Where no web developer has gone before





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to