I submitted a patch to do just this but was told that ARes will probably
an external install from Rails. For now, as says the guide DHH posted,
you’ll need to manually type out the path to the activeresource install.
Otherwise, the library works quite well and I’ve yet to find any issues
Simply define your models to be:
class MyResource < ActiveResource::Base
self.site_url = “http://path/to/server”
… credentials …
and you’re on your way. You only get #find for now, depending on how
data the server is sending back (the :include directive of to_xml).
Just a warning though, I did have a problem with the server code and
#to_xml, described here: http://dev.rubyonrails.org/ticket/8017