davidrichards / rails-templates

At least one template that I want to have around

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file README.rdoc
file authentication.rb
file base.rb
file workflow.rb
README.rdoc

This is an idea from Ryan Bates (github.com/ryanb/rails-templates/tree/master): create my own Rails templates and put them on GitHub, so that I can use them wherever I go. Probably I have a few local dependencies that would be a bit of a pain for anyone else to use these, but it’s a good idea (I think) to have things like Haml, Cucumber, and Webrat on a development machine.

There is a function that I also borrowed from Ryan that makes this more useful. This is adjusted for my repositories.

  function railsapp {
    template=$1
    appname=$2
    shift 2
    rails $appname -m http://github.com/davidrichards/rails-templates/raw/master/$template.rb $@
  }

TODO

  * Get better Haml support from the beginning to support the Compass stuff.