Documentation for the built-in generator functions?


Is there a documentation for the different built-in generator functions
somewhere? If I do ruby script/generate -h I get a short overview, but I
would like to know what possibilities exist for each of the built-in
generators. Which files exactly are created? The examples I have seen
are puzzling – sometimes they generate models or controllers per-se,
sometimes using the scaffold-generator etc.
Also, what if the need arises to re-generate stuff after files have been
modified? Is there documentation somewhere about when to do what?