OK, I know I’m a bit rusty on RoR, but this is ridiculous…
I guess I wouldn’t have been so bad, like 4 hours wasted, if there was decent documentation. Also, I know that Rails has gone through some recent changes. But, all I wanted to do is write a simple XML-RPC application. I’ve done it in the past and it has been fairly painless.
Here is some FYI in case you might want to do the same.
ActionWebServie has been removed and “replaced” with ActiveResource. “Replaced” does not mean ‘replaced’ as in there is no support for XML-RPC under ActiveResource.
Here is what you need to do in order to get ActionWebService working on Rails 2.
svn export http://dev.rubyonrails.org/svn/rails/ousted/actionwebservice/ vendor/rails/actionwebservice
edit environments.rb and add the following below Rails::Initializer.run:
config.load_paths += %W(
add the following at the end of the file:
And finally add this to test_helper.rb: