Rails 3应用程序模板

Dan*_*hoe 18 ruby-on-rails ruby-on-rails-3

哪些Rails应用程序模板显示了设置新Rails 3应用程序的最佳实践?

我对两件事感兴趣.

  1. 哪些应用程序模板设计得很好(模块化且易于定制)?

  2. 哪个提供典型Rails应用程序所需的最佳(或最流行)组件组合?

我问的是与rails new app_name -m命令一起使用的脚本来生成应用程序.


我看了一些例子.你觉得这些怎么样?

greendog99/greendog-rails-template Devise,RSpec,Factory Girl,jQuery,Haml,Sass,Compass,Git,rvm,HTML5 Boilerplate,以及布局.使用子模板进行轻松自定义.

dcrec1/rails3_template 设计(用黄瓜步骤),黄瓜,RSpec,工厂女孩,哈姆,指南针,jQuery,Git,Formtastic,布局等等.使用子模板进行轻松自定义.

aentos/rails3-templates 设计或Authlogic或OmniAuth,Cucumber,Capybara,RSpec,Factory Girl,Shoulda,jQuery,Haml,Compass,960网格或蓝图,Capistrano或Heroku或Inploy,Git,以及布局.使用子模板进行轻松自定义.

rubyx/rails3_template PostgreSQL,Devise,Cucumber with Selenium and Capybara,RSpec with Machinist and Faker,JQuery,Simple Form,Haml,SASS,Git,rvm,Google analytics(可选),Hoptoad用于问题跟踪(可选),TellThemWhen用于停机通知(可选的).在README中描述了配方.

perfectline/template-bucket Cucumber,RSpec,jQuery,Haml或Jammit,Capistrano,Git,rvm,加上布局.使用子模板进行轻松自定义.

leshill/rails3-app Cucumber,RSpec,Factory Girl or Fabrication,Haml,jQuery,Git,rvm.

这些Rails 2.3项目看起来曾经很受欢迎,但自2009年或2010年以来一直没有更新:

JM/Rails的模板

ffmike/BigOldRailsTemplate

Kev*_*eld 0

Thoughtbot 的背带项目看起来很有趣 - http://robots.thoughtbot.com/post/2315306436/fishing-for-trout-in-our-suspenders

特别是添加 Trout 以便稍后更新核心吊带文件