What is a good .gitignore to use with Rails on Heroku?
This is pretty similar to: Rails: exclude anything from version control? Here is my answer from that.
db/*.sqlite3 log/*.log tmp/**/*
This is usually what I exclude. Some people also like to exclude the database.yml file if it's going on a public repo and you don't want to expose your database passwords.