mattconnolly / rails-templater

Template generator for Ruby on Rails 3 applications

Home Page:http://blog.madebydna.com/cooking-up-a-custom-rails-3-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

After cloning the rails-templater to your hard drive, you can generate a new app like so:

If you want to use Active Record with MySql: rails new application_name -T -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

Database

  • Uses Active Record as the default ORM

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.

About

Template generator for Ruby on Rails 3 applications

http://blog.madebydna.com/cooking-up-a-custom-rails-3-template