public
Description: Opinionated scaffold generator (haml and test/unit)
Homepage:
Clone URL: git://github.com/pyrat/scaffy.git
scaffy /
name age message
file .gitignore Thu Jan 15 14:52:54 -0800 2009 inital commit [pyrat]
file CHANGELOG Thu Jan 15 14:52:54 -0800 2009 inital commit [pyrat]
file LICENSE Thu Jan 15 14:52:54 -0800 2009 inital commit [pyrat]
file README.textile Sat Oct 03 13:08:15 -0700 2009 readme tweak [pyrat]
file Rakefile Thu Jan 15 14:52:54 -0800 2009 inital commit [pyrat]
file TODO Thu Jan 15 14:52:54 -0800 2009 inital commit [pyrat]
directory generators/ Wed Dec 02 01:45:20 -0800 2009 little bugfixes for namespace generation [pyrat]
directory test/ Wed Feb 11 15:15:30 -0800 2009 Fixed problem with rails generator include [pyrat]
README.textile

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.

Scaffy Scaffold Generator