Dream Template Rails App Bootstrapper

Cause greenfield sucks, use what works, and slowly swap it out Brought to you by Ruby Loves Me!

This template can be used stand-alone, however, it goes hand in hand with my dream_gens project…..

dream_template

The easiest path to to create your rails app with this template, then install the dream_gens gem and you are ready to go with cucumber, rspec, and more with autospec!

Genesis

I build apps fast. So just about everything I do is “greenfield”. Many developers love the concept of an empty palette. I myself find it quite tiring to set things up step by step, and learn new technologies to replace what works just fine. That being said you will notice I implement new stuff, I’m just not a fan of replacing things for trend’s sake. eg. Rspec+Remarkable is pretty damn cool. TestUnit still sux.

Wiki Index

Module explanations and use

  • prepare
  • git
  • optimization
  • capistrano
  • rspec
  • “cucumber”:
  • “haml”:
  • “theme”:
  • “compass”:
  • “formtastic”:
  • “static_pages”:
  • “rails_xss”:
  • “will_paginate”:
  • “whenever”:
  • “action_mailer_optional_tls”:
  • “paperclip”:
  • “friendly_id”:

Template details

Presentation layer

  • Haml
  • Sass
  • Compass
  • Rlm theme

Test suite

  • RSpec powered by spork
  • Cucumber powered by spork
  • Remarkable matchers for rspec
  • Rlm matchers for rspec & cucumber
  • Factory girl for factories

Optimization plugins

  • Memorylogic for memory
  • Oink for memory
  • Rails indexes for indexes

Utility plugins

  • Xilence to kill rjs backtraces

Example useage

Just create a new Rails application and add the -m option with the URL to base.rb

rails rails_app_name -m http://github.com/dreamr/dream_template/raw/master/base.rb

Please checkout the wiki here for information on each module that is included and how to use them.

Contributions

Maintainer: dreamr

Contributers

Fork, make a patch, notify me, get here.