Restflection plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.turnipspatch.com/public/restflection/
How Restflection exposes itself
=========================
Once installed, you can use Restflection from the controller or the view via the restflect method:
restflect(on)
Returns an instance of Restflection::ResourceReflection
on should be one of:
* :collection – reflects on the collection of resources
* :member – reflects on a single resource
Two convenience methods are also provided by the view:
* member – Returns the same as restflect(:member).it
* collection – Returns the same as restflect(:collection).it
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: hardway, 10 months ago

