rails 4 practice with postgreSQL