ActiveRecord::StatementInvalid: PG InFailedSqlTransaction

后端 未结 10 2083
礼貌的吻别
礼貌的吻别 2020-12-13 01:33

I am trying to create an ActiveRecord Object.But I\'m getting this error while creating it.

(0.1ms)  ROLLBACK
ActiveRecord::StatementInvalid: PG::InFailedSql         


        
10条回答
  •  我在风中等你
    2020-12-13 02:02

    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

提交回复
热议问题