Skip to content

mariochavez/rails-templater

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Templater

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

Getting started

  • Clone rails-templater to your hard drive
  • Generate the Rails application:
    rails new application_name -JOT -m /path/to/rails-templater/templater.rb

Generated Application

Rails Templater will generate the following:

Ruby on Rails

  • 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

Database

  • Uses Mongoid as the Object Document Model
  • TODO: Optionally add the ability for other databases

Testing

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Send me a pull request. Bonus points for topic branches.

Releases

No releases published

Packages

No packages published