Where can I find the full document for rails application template?

Hi,

I am trying to learn how to use rails application template (as in "rails new app_name -m <temaplate>"). I can find some examples but I can't find full document for the APIs. Does anyone know where the document is?

Thanks.

Sam