Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Jan 15 14:52:54 -0800 2009 | |
| |
CHANGELOG | Thu Jan 15 14:52:54 -0800 2009 | |
| |
LICENSE | Thu Jan 15 14:52:54 -0800 2009 | |
| |
README.textile | Sat Oct 03 13:08:15 -0700 2009 | |
| |
Rakefile | Thu Jan 15 14:52:54 -0800 2009 | |
| |
TODO | Thu Jan 15 14:52:54 -0800 2009 | |
| |
generators/ | Wed Dec 02 01:45:20 -0800 2009 | |
| |
test/ | Wed Feb 11 15:15:30 -0800 2009 |

Scaffy Generator
An opinionated cut down scaffold generator. This uses haml for templates and includes tests in vanilla test/unit. Nothing fancy, nothing special. Just a really fast way to use scaffolding without it being rubbish.
!http://scoop.simplyexcited.co.uk/wp-content/uploads/2009/01/scaff.jpg (scaff)!
Install
script/plugin install git://github.com/pyrat/scaffy.git
Usage
Once you install the gem, the generators will be available to all Rails
applications on your system. If you run script/generate without any
additional arguments you should see the available generators listed.
To run the generator, go to your rails project directory and call it
using the script/generate or script/destroy command.
script/generate scaffy Comment email:string content:text
Run the command with the —help option to learn more.
script/generate scaffy --help
Troubleshooting
I get a missing database error.
Run rake db:migrate.
Forms don’t work.
Try restarting your development server. Sometimes it doesn’t detect the
change in the routing.
Development
This project can be found on github at the following URL.







