This is a template which allows creating new Ruby on Rails 3 applications quickly using some opinionated defaults. It is inspired by ffmike's BigOldRailsTemplate Rails 2 template project. To use templater with your Rails apps, use the -m switch when creating your application:
rails new application_name -JOT -m templater.rb
- Clone rails-templater to your hard drive
- Generate the Rails application:
rails new application_name -JOT -m /path/to/rails-templater/templater.rb
Rails Templater will generate the following:
- Uses Haml as the template engine
- Uses Sass for generating CSS
- jQuery for JavaScript over Prototype
- Optionally uses Compass for design with the blueprint/semantic framework
- Uses Mongoid as the Object Document Model
- TODO: Optionally add the ability for other databases
- RSpec for testing
- factory_girl for fixture replacement
- remarkable for ActiveModel RSpec matchers
- Optionally uses Cucumber for integration tests
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request. Bonus points for topic branches.