Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Template generator for Ruby on Rails 3 applications

tree: 8273152178

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO.textile
Octocat-spinner-32 rails_templater.gemspec
README.textile

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.

Install

gem install rails_templater

Usage

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:

Database

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

Testing

Fixture Replacement

Integration Testing

JavaScript

Template Engine

Stylesheets

  • Sass for generating CSS (optional)
    • Compass as your stylesheet authoring framework (optional)

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix in a branch.
  • Send me a pull request.
Something went wrong with that request. Please try again.