update versions Ruby and Rails and adding new database - PostgreSQL

You can require all Rails modules with one line `require 'rails/all'`