Skip to content

RESTful Scaffolding

piercus edited this page Jan 17, 2011 · 4 revisions

Table of Contents

Introduction

ActiveScaffold handle all the REST methods with the following formats :

  • XML
  • json
  • yaml
ActiveScaffold defines a number of methods above and beyond the standard RESTful CRUD. All of this extra configuration has been packaged up in a flag that you can set in your routes.rb. To configure a RESTful scaffold, make a map.resources entry like the below:

map.resources :users, :active_scaffold => true

XML

JSON

YAML

Clone this wiki locally