See here from some syntactical changes that occurred after this post was published
I gave a little chat last night at the Central Virginia Ruby Enthusiast’s Group – otherwise known as the Richmond Ruby Brigade – about REST, ActiveResource and how to build client services from the marriage of the two.
It was a really good group and I’d encourage anybody in the central virginia area to go check them out if they get the chance. It sounds like they’ve got some good speakers lined up in the next few meetings to make it worth your while (and they had free pizza last night – what a grade-A operation!)
For those that are interested, here’s the PDF version of my presentation. As you can imagine much of the value is lost without having the dialogue to accompany the presentation, but I think it somewhat stands on its own. Most of the examples are drawn from my ongoing work on ContactsAPI – a site meant to further the adoption and education of ActiveResource and REST in general. Check it out if you have the time, but again, it’s a work in progress.
tags: ruby, rubyonrails, cvreg

Thanks for putting your PDF online. I’ve been toying around with ARes for some time now and it’s really cool although it still has some rough edges.
Ryan, thanks for the presentation last night. I was just recommending this blog to someone and didn’t know this was your site until I came back to get the address. Thanks for the blog and the presentation.
Jamie
Nice! I appreciate the intuitive organization and examples!
No problem Jamie, I enjoyed giving the talk and meeting you.
Thanks for the pdf, it’s great.
FYI: This site: http://contactsapi.com/ is giving nothing but 404’s.
Hey Anand, I fixed ContactsAPI now – I fiddled with the apache config to fix another addressing issue and bjorked the main URL. Bad Ryan, bad.
Thanks for the heads up.
pdf’s link is broken ?
@david – the link is working for me – give it a go again?
Any idea on a plugin or backport for those of us building rails stable applications? the deprecation hollow out of trunk is making things really hairy in the office.
No word, Jeremy – but a patch wouldn’t be difficult. Feel like contributing?
Hi Ryan,
I’ve been trying to develop my own REST api with AR. I was eager to see how you did error handling for failed attempts at creating an object in the controller. I cant get mine to work correctly. I’m lost in a jungle of
“Net::HTTPBadResponse: wrong header line format” or @object.errors.full_messages []
I can get these requests to work with CURL
Would you mind posting one of your controllers?
Just downloaded the pdf. Thanks!