Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby on Rails Application Template

What Rails application templates show best practices for setting up a new Ruby on Rails application?

I'm interested in two things.

  1. Which application templates are designed well (modular and easily customized)?

  2. Which offer the best (or most popular) combination of components needed in a typical Rails app?

I'm asking about scripts that are used with the rails new app_name -m command to generate an application.


I've looked at some examples. What do you think of these?

greendog99/greendog-rails-template Devise, RSpec, Factory Girl, jQuery, Haml, Sass, Compass, Git, rvm, HTML5 Boilerplate, plus a layout. Uses subtemplates for easy customizing.

dcrec1/rails3_template Devise (with Cucumber steps), Cucumber, RSpec, Factory Girl, Haml, Compass, jQuery, Git, Formtastic, a layout, and more. Uses subtemplates for easy customizing.

aentos/rails3-templates Devise or Authlogic or OmniAuth, Cucumber, Capybara, RSpec, Factory Girl, Shoulda, jQuery, Haml, Compass, 960 grid or Blueprint, Capistrano or Heroku or Inploy, Git, plus a layout. Uses subtemplates for easy customizing.

rubyx/rails3_template PostgreSQL, Devise, Cucumber with Selenium and Capybara, RSpec with Machinist and Faker, JQuery, Simple Form, Haml, SASS, Git, rvm, Google analytics (optional), Hoptoad for issue tracking (optional), TellThemWhen for downtime notifications (optional). With a description of the recipe in the README.

perfectline/template-bucket Cucumber, RSpec, jQuery, Haml or Jammit, Capistrano, Git, rvm, plus a layout. Uses subtemplates for easy customizing.

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

These Rails 2.3 projects look like they were once popular but haven't been updated since 2009 or 2010:

jm/rails-templates

ffmike/BigOldRailsTemplate

like image 871
Daniel Kehoe Avatar asked Feb 15 '11 01:02

Daniel Kehoe


People also ask

Can you make apps with Ruby on Rails?

Ruby on Rails (often called Rails) is an open-source, web application development framework written in the Ruby programming language. Rails makes it fun and easy to program web applications: it allows you to write less code but accomplish more than most frameworks.

How do I use Ruby on Rails templates?

To apply a template, you need to provide the Rails generator with the location of the template you wish to apply using the -m option. This can either be a path to a file or a URL. You can use the app:template rails command to apply templates to an existing Rails application.

What are Ruby templates?

Template Method is a behavioral design pattern that allows you to defines a skeleton of an algorithm in a base class and let subclasses override the steps without changing the overall algorithm's structure.


1 Answers

We develop and use our template . You can check and use. Regards.

like image 149
onurozgurozkan Avatar answered Oct 05 '22 22:10

onurozgurozkan