views:

240

answers:

3

When I run...

$ script/generate

I get a list of installed generators and a message saying "More are available at http://wiki.rubyonrails.org/rails/pages/AvailableGenerators." However, the indicated wiki page says "This topic does not exist yet."

Does there exist some central repository of downloadable Rails generators?

In particular, I'd like one that creates the Rails scaffolding, but uses Haml instead of ERB.

It would also be neat if it would generate the Test::Unit tests but using the Shoulda enhancements.

A: 

A lot of plugins come with their own generators. The one that springs to mind is restful_authentication because I have used it quite a bit.

Edit: Did you google here?

Adam Hawes
+1  A: 

That wiki was a wonderful resource back in the day, but it's long gone. I threw up a archive containing that page from when the wiki started wobbling. It's dated but you can at least see what was there.

As for now, look for gems (especially plugins) to provide the generators rather than expecting them as isolated resources. The gems command can be used to find whats available.

MarkusQ
A: 

There's Rails Boost, which is a template generator. In fact, the template you want has already been generated -- that one uses HAML and Shoulda.

James A. Rosen