Template generator for Ruby on Rails 3 applications
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Add specs to project Jan 24, 2011
lib Update to Version 0.3.0 Mar 14, 2012
.gitignore Update .gitingore to not include .bundle Feb 10, 2011
.rspec Add specs to project Jan 24, 2011
Gemfile Move rails_templater into a gem Jan 14, 2011
LICENSE Fix my spelling error (via guilleiguaran) Jan 13, 2011
README.textile Updating README to reflect 0.3.0 changes Mar 14, 2012
Rakefile Add specs to project Jan 24, 2011
TODO.md Updating TODO Mar 14, 2012
rails_templater.gemspec Updating rspec to version 2.8 Feb 29, 2012


Rails Templater

Rails Templater is a gem which generates new Ruby on Rails 3 applications the way you want them. Based on your choices, Rails Templater will create an application configured correctly. For example, if you select Mongoid for an ODM and RSpec for your testing framework, Rails Templater will generate all necessary hooks to handle dropping your collections from MongoDB. The project was inspired by ffmike’s BigOldRailsTemplate Rails 2 template project.


gem install rails_templater


At the command prompt, create a new Rails application using the templater command:

templater myapp_name

Generated Application

Rails Templater provides you with the following choices during application generation:


  • Mongoid as your Object Document Mapper for MongoDB
  • ActiveRecord as your Object Relational Mapper for Relational Databases


Matchers (optional)

Fixture Replacement

Integration Testing (optional)

Code Coverage

  • RCov (optional, only for Ruby 1.8)
  • CoverMe (optional, only for Ruby 1.9)


Template Engine

Sass Extensions (optional)

  • Compass as your stylesheet authoring framework

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix in a branch.
  • Send me a pull request.