test replaced with RSpec, database with PostgreSQL, rails_12factor gem for Heroku