Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
hardbap committed Aug 29, 2008
1 parent 38c6e83 commit 2bb4fbe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ In `test/test_helper.rb`, include this:
require file
end

### shoulda\_haml\_scaffold
### shoulda\_scaffold

* everything included in shoulda_model
* a controller (sans unnecessary comments)
Expand Down Expand Up @@ -67,6 +67,15 @@ Usage is the same as the default Rails generators.
$ script/generate shoulda_model post title:string body:text published:boolean
$ script/generate shoulda_scaffold post title:string body:text published:boolean

## configuring it

You can override the default values for templating and functional\_test\_style by placing a .shoulda\_generator in your home directory.

example `~/.shoulda\_generator`:

:templating: erb # supported options are haml|erb
:functional_test_syle: should_be_restful # supported options basic|should_be_restful

## developing it

Make a checkout somewhere:
Expand Down

0 comments on commit 2bb4fbe

Please sign in to comment.