title: ActiveRecord::StatementInvalid: PG InFailedSqlTransaction
body: <p>I am trying to create an ActiveRecord Object.But I'm getting this error while creating it.</p>
  
  <pre><code>(0.1ms)  ROLLBACK
  ActiveRecord::StatementInvalid: PG::InFailedSqlTransaction: ERROR:  current transaction is       aborted, commands ignored until end of transaction block
  </code></pre>
  
  <p>Any ideas folks regarding the issue.</p>