RESTful tutorial



I started dabbling with Ruby a little while ago and for a hobby project
I’d like to build a web service with a view to later building a Ruby/GTK
client to use the service.

I want to learn about REST too so it seems to me that Rails looks like a
sensible way forward - the URIs it generates are already quite RESTful
and it looks like it’d deal with a lot of the mundane stuff for me with
little effort.

I’ve never used Rails though, so I don’t really know where to start. All
the tutorials I’ve found focus on building websites, but I’m not
interested in building anything a browser can interpret. Google hasn’t
really been helping me either - I’ve found one article about Ruby and
REST but it’s about adding a REST API to an existing Rails app.

Can anyone point me in the direction of a tutorial or some examples or
something please?