railroad

Jumpstart your Ruby on Rails 3 applications with rails-templater

In Having Ruby on Rails my way, I outlined how to manually setup your Ruby on Rails 3 application to use custom generators for Mongoid, Haml, jQuery, RSpec, and factory_girl.

To simplify things further, I have started a template project called rails-templater. It is inspired by Mike Gunderloy’s BigOldRailsTemplate project which provides templates for Rails 2.3.x projects. To get started, clone the rails-templater repository to your hard drive:

% git clone http://github.com/kfaustino/rails-templater.git

When you are ready to create a new Rails 3 application, run:

% rails new app_name -JOT -m \
 /path/to/rails-tempater/templater.rb

Optionally you can also use Compass as your stylesheet framework and Cucumber for integration testing.

I will be continuously making updates to the project by adding new recipes and template options.

Be sure to check out the project GitHub page.

Photo credit: Railroad in Crestwood by dystopos