Skip to content

Instantly share code, notes, and snippets.

@func09
Created March 6, 2009 03:56
Show Gist options
  • Save func09/74747 to your computer and use it in GitHub Desktop.
Save func09/74747 to your computer and use it in GitHub Desktop.
# template.rb
run "rm public/index.html"
generate(:scaffold, "todo title:string finished:boolean")
route "map.root :controller => 'todos'"
rake("db:migrate")
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment