This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Thu Jan 03 07:42:27 -0800 2008 | |
| |
README | Thu Jan 24 15:58:46 -0800 2008 | |
| |
Rakefile | Thu Jan 03 07:42:27 -0800 2008 | |
| |
TODO | Fri Jan 18 03:48:41 -0800 2008 | |
| |
assets/ | Sat Feb 02 08:16:57 -0800 2008 | |
| |
generators/ | Sat Feb 02 08:16:57 -0800 2008 | |
| |
init.rb | Sun Jan 06 03:29:33 -0800 2008 | |
| |
install.rb | Sat Feb 02 08:16:57 -0800 2008 | |
| |
lib/ | Fri Mar 21 22:43:01 -0700 2008 | |
| |
tasks/ | Thu Jan 03 07:42:27 -0800 2008 | |
| |
test/ | Thu Jan 24 12:20:43 -0800 2008 | |
| |
uninstall.rb | Thu Jan 03 07:42:27 -0800 2008 |
README
ExtScaffold =========== Scaffolds an entire resource, from model and migration to controller and views, along with a full test suite, just like the standard Rails scaffold generator. The ext_scaffold generator uses the Ext Javascript framwork to build the GUI elements (forms and tables). Pass the name of the model, either CamelCased or under_scored, as the first argument, and an optional list of attribute pairs. Attribute pairs are column_name:sql_type arguments specifying the model's attributes. Timestamps are added by default, so you don't have to specify them by hand as 'created_at:datetime updated_at:datetime'. For example, `ext_scaffold post title:string body:text published:boolean` gives you a model with those three attributes, a controller that handles the create/show/update/destroy, Ext forms to create and edit your posts, and an Ext Grid index that lists them all, as well as a map.resources :posts declaration in config/routes.rb. Prerequisites ============= You need to download the Ext Javascript framework from `http://extjs.com/download`, and unzip it into `#{RAILS_ROOT}/public/ext`. Ext_scaffold was tested against version 2.0.1 of the Ext framework. Installation ============ `script/plugin install http://rug-b.rubyforge.org/svn/ext_scaffold` Example ======= `./script/generate ext_scaffold post` # no attributes, view will be anemic `./script/generate ext_scaffold post title:string body:text published:boolean` `./script/generate ext_scaffold purchase order_id:integer amount:decimal` Copyright (c) 2008 martin.rehfeld@glnetworks.de, released under the MIT license







