One big part of the whole restful thing is that you should use the different HTTP methods to represent different actions. Here you can find brief tutorial on creating RESTful web services using the Ruby on Rails framework :
http://www.youtube.com/watch?v=J6r_l3cAS9s