added production.rb and fixed database.yml