find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")};rm #{i}"}' | bash
Setup postgres http://shifteleven.com/articles/2008/03/21/installing-postgresql-on-leopard-using-macports
sudo -u postgres createuser -S -D -R -P your_user_name
sudo -u postgres createdb -O database_owner_username name_of_database
export RUBYOPT='-r openssl'
rails g scaffold <model> <attributes> -e haml --routing-specs=false --helper-specs=false --controller-specs=false --fixture=false --view-specs=false --model-spec=false --helper=false --stylesheets=false -p
include ActionController::UrlWriter