Getting ready for PostgreSQL everywhere.
Ignore explicitly the config/database.yml
Added Guard for testing.
Added Guard for testing.