Passing template to “rails new”

前端 未结 1 1171
暖寄归人
暖寄归人 2021-01-02 18:43

When calling \"rails new\" it is obviously possible to pass some kind of template or setup script via the \"-m\" command line parameter. I found this via https://github.com/

相关标签:
1条回答
  • 2021-01-02 19:16

    Here is some information you may find useful:

    • Rails templates (a high-level overview)
    • Templates in Rails 3 (lists some of the commands and links to documentation)
    • RDoc for Thor::Actions
    • Source for Rails specific actions

    I also found this guide in the Rails source code which isn't linked to from the main Guides page, but may have some useful information for you.

    You may also be interested in the source for the default app template methods, which is used when you use rails new with no -m option, or this application template I started on a while back that explores some different options.

    0 讨论(0)
提交回复
热议问题