Tags
Friends
Links
Meta
Tag Archives: REST
Using xml with the resource_controller plugin
If you’re using an ActiveResource client to access your Rails controller which is using the awesome resource_controller plugin RESTfully you’re going to need to enable xml respsonses (which aren’t enabled by default with the plugin). class ProductsController < ResourceController::Base # … Continue reading
Rails REST Associations
Rails 2.0 comes with a lot of REST goodness baked in, but without a little extra work, you don’t get all of the nice URL accessible associations that you want. There’s a plugin called resource_controller by James Golick which will … Continue reading