davidrichards / rails-templates
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
David Richards (author)
Wed Jun 03 00:24:25 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.rdoc | ||
| |
authentication.rb | ||
| |
base.rb | ||
| |
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.

