Fix ERROR:  operator does not exist: boolean = integer with Postgres
Test with other Ruby versions and Postgres