ActiveScaffold

From WhyNotWiki

Jump to: navigation, search
Homepage: http://activescaffold.com/
Documentation: http://demo.activescaffold.com/docs/
Source code: http://activescaffold.googlecode.com/svn/tags/activescaffold
Project/Development: http://code.google.com/p/activescaffold/



License: [[:MIT license|MIT license]]




http://activescaffold.com/

  • Generates a production-ready, fully-styled interface for managing models
  • Automatically handles model associations on forms and in the table display (including automatic nested scaffold support)
  • Includes RESTful API that supports XML, YAML and JSON
  • Guaranteed to work on Firefox 1+, IE 6+ and Safari 2+
  • Gracefully degrades when Javascript is not available

[edit] How to add revision tracking to your ActiveScaffold

Here's a not very good attempt: http://wiki.activescaffold.com/wiki/show/AuditTrail

http://groups.google.com/group/activescaffold/browse_thread/thread/e934693ee4657fff/4747542d2071ca0b

  1. Install the acts_as_versioned gem.
  2. Create/run migrations for versions tables
  3. Add updated_by and created_by ActiveRecord extension, use either:
  4. Create/run migration to add created_by and updated_by to

<model>_versions tables

  1. Restart and test.
Personal tools