I am trying to create an ActiveRecord Object.But I\'m getting this error while creating it.
(0.1ms) ROLLBACK ActiveRecord::StatementInvalid: PG::InFailedSql
you can see what really going on in postgresql log, I spend a lot of time to dig into this issue, and finally find out that we misuse upsert gem cause a PG error, only in postgresql log have the real info of what's going on
https://github.com/seamusabshere/upsert/issues/39