This is not a common error in when using Ruby on Rails. This is actually something to do with Postgres, more than anything else. You however don’t have to fret. This occurs when a statement failed in a transaction. The solution is to look in the failed transaction and fix it.
Ruby on Rails: current transaction is aborted, commands ignored until end of transaction block