add database.yml.sample
update rails to 3.2.11
modify .gitigore
modify README