I am trying to create an ActiveRecord Object.But I\'m getting this error while creating it.
(0.1ms) ROLLBACK ActiveRecord::StatementInvalid: PG::InFailedSql
In my case the Postgres configuration at /usr/local/var/postgres/postgresql.conf had the datetype as the international format of dmy
/usr/local/var/postgres/postgresql.conf
dmy
Changing datetype to the American format of mdy fixed this issue for me.
mdy