Rest Controller plugin

Plugin details

Rest Controller provides basic default actions for a RESTful controller which can be overridden easily.

Websitehttp://www.ibrasten.com/articles/2006/09/20/rest-controller-plugin Repositoryhttp://svn.superruby.com/svn/plugins/rest_controller Author Brasten Sager Tags Rest LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://svn.superruby.com/svn/plugins/rest_controller

There is basic customization capabilities of the default responses. If you need more customization, you should just implement the method in question to bypass this plugin. If you find yourself overriding more than one or two of the default methods, then you probably should not be using this plugin to begin with.

Usage
===========

    # Controller with default actions.
    class ProductsController < ApplicationController
      rest_controller :product
    end

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 9 months ago